Skip to content
项目

关于

Recipes for building the base images for Heroku's stacks

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Heroku Base Images

CI

This repository holds recipes for building the base images for Heroku stacks. The recipes are also rendered into Docker images that are available on Docker Hub:

Image Type OS Supported Architectures Default USER Status
heroku/heroku:20 Heroku Run Image Ubuntu 20.04 AMD64 root End-of-life
heroku/heroku:20-build Heroku Build Image Ubuntu 20.04 AMD64 root End-of-life
heroku/heroku:20-cnb CNB Run Image Ubuntu 20.04 AMD64 heroku End-of-life
heroku/heroku:20-cnb-build CNB Build Image Ubuntu 20.04 AMD64 heroku End-of-life
heroku/heroku:22 Heroku Run Image Ubuntu 22.04 AMD64 root Deprecated
heroku/heroku:22-build Heroku Build Image Ubuntu 22.04 AMD64 root Deprecated
heroku/heroku:22-cnb CNB Run Image Ubuntu 22.04 AMD64 heroku Deprecated
heroku/heroku:22-cnb-build CNB Build Image Ubuntu 22.04 AMD64 heroku Deprecated
heroku/heroku:24 Heroku/CNB Run Image Ubuntu 24.04 AMD64 + ARM64 heroku Available
heroku/heroku:24-build Heroku/CNB Build Image Ubuntu 24.04 AMD64 + ARM64 heroku Available
heroku/heroku:26 Heroku/CNB Run Image Ubuntu 26.04 AMD64 + ARM64 heroku Recommended
heroku/heroku:26-build Heroku/CNB Build Image Ubuntu 26.04 AMD64 + ARM64 heroku Recommended

The build image variants use the run images as their base, but include additional packages needed at build time such as development headers and compilation toolchains.

The CNB image variants contain additional metadata and changes required to make them compatible with Heroku's Cloud Native Buildpacks builder images.

For images where the default USER is heroku, you will need to switch back to the root user when modifying locations other then /home/heroku and /tmp. You can do this by adding USER root to your Dockerfile when building images, or by passing --user root to any docker run invocations.

Learn more

See BUILD.md for instructions on how to build the images yourself.

探索相关项目

加载中…