Last updated 27 November 2018
Table of Contents
This article describes the Heroku-18 stack, based on Ubuntu 18.04. What is a stack?
Runtime versions and installed packages
When a new stack is released, old versions of a language runtime may no longer be supported. For the most accurate information on supported runtime versions, please check the individual language pages:
Learn more about the packages installed in Heroku-18.
Heroku-18 is based on Ubuntu 18.04. It will be supported through April 2023. Learn more about Heroku’s stack update policy.
Testing and upgrading your app
Learn how to test and upgrade your app to Heroku-18.
Heroku-18 Docker image
Heroku-18 is available as two Docker images:
- The runtime image is recommended for most workloads.
- The build image (heroku/heroku:18-build) is larger and includes development headers. It is only recommended for customers that need to compile source code.
Use the following command in your
Dockerfile to use Heroku-18 as your base image:
Learn more about deploying Docker images to Heroku.