Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add heroku/builder:20 #394

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
builder: ["buildpacks-20", "builder-classic-22", "builder-22", "salesforce-functions"]
builder: ["buildpacks-20", "builder-classic-22", "builder-20", "builder-22", "salesforce-functions"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
builder: ["buildpacks-20", "builder-classic-22", "builder-22"]
builder: ["buildpacks-20", "builder-classic-22", "builder-20", "builder-22"]
language: ["go", "gradle", "java", "node-js", "php", "python", "ruby", "scala", "typescript"]
include:
- builder: builder-classic-22
Expand Down Expand Up @@ -151,6 +151,8 @@ jobs:
tag_private: heroku-20:builder
- builder: builder-classic-22
tag_public: heroku/builder-classic:22
- builder: builder-20
tag_public: heroku/builder:20
- builder: builder-22
tag_public: heroku/builder:22
tag_private: heroku-22:builder
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ SHELL=/bin/bash -o pipefail

build:
@pack builder create heroku/buildpacks:20 --config buildpacks-20/builder.toml --pull-policy always
@pack builder create heroku/builder:20 --config builder-20/builder.toml --pull-policy always
@pack builder create heroku/builder:22 --config builder-22/builder.toml --pull-policy always
@pack builder create heroku/builder-classic:22 --config builder-classic-22/builder.toml --pull-policy always
@pack builder create salesforce-functions --config salesforce-functions/builder.toml --pull-policy always

# The salesforce-functions image isn't published to Docker Hub, so is intentionally absent here.
publish: build
@docker push heroku/buildpacks:20
@docker push heroku/builder:20
@docker push heroku/builder:22
@docker push heroku/builder-classic:22
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The builder images use Heroku's [stack images](https://github.com/heroku/stack-i
|-----------------------------------------------------|---------------------------------------------|-------------|
| [`heroku/buildpacks:18`][buildpacks-tags] | [`heroku/heroku:18-cnb-build`][heroku-tags] | End-of-life |
| [`heroku/buildpacks:20`][buildpacks-tags] | [`heroku/heroku:20-cnb-build`][heroku-tags] | Available |
| [`heroku/builder:20`][builder-tags] | [`heroku/heroku:20-cnb-build`][heroku-tags] | Available |
| [`heroku/builder:22`][builder-tags] | [`heroku/heroku:22-cnb-build`][heroku-tags] | Recommended |
| [`heroku/builder-classic:22`][builder-classic-tags] | [`heroku/heroku:22-cnb-build`][heroku-tags] | Available |

Expand Down
104 changes: 104 additions & 0 deletions builder-20/builder.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
description = "Base builder for Heroku-20 stack, based on ubuntu:20.04 base image"

[stack]
id = "heroku-20"
build-image = "heroku/heroku:20-cnb-build"
run-image = "heroku/heroku:20-cnb"

[lifecycle]
version = "0.17.1"

[[buildpacks]]
id = "heroku/go"
uri = "docker://docker.io/heroku/buildpack-go@sha256:922fe2337450d9570b4eae2aaefc805068c73053d7d7c4c4ae0da1c06bddb73e"

[[buildpacks]]
id = "heroku/java"
uri = "docker://docker.io/heroku/buildpack-java@sha256:3b69171e416c8062b3caefc97c206cd006a197773e380d09cb7f704a10147dee"

[[buildpacks]]
id = "heroku/nodejs"
uri = "docker://docker.io/heroku/buildpack-nodejs@sha256:5000a0f8ca2f440bedc24dd1a75dd20c60ffb8ff1708b7490d67aa290f280606"

[[buildpacks]]
id = "heroku/php"
uri = "docker://docker.io/heroku/buildpack-php@sha256:19e44139b850b3b9040f21d436ec693f0dff82e931bbff500e9876f4febacd0e"

[[buildpacks]]
id = "heroku/procfile"
uri = "docker://docker.io/heroku/procfile-cnb@sha256:ea7219d4bb50196b4f292c9aae397b17255c59a243d7408535d2a03a5cd2b040"

[[buildpacks]]
id = "heroku/python"
uri = "docker://docker.io/heroku/buildpack-python@sha256:537221283e7040997e006c90782ba93ed01edf0de705d013b474aa5ee82979fc"

[[buildpacks]]
id = "heroku/ruby"
uri = "docker://docker.io/heroku/buildpack-ruby@sha256:fd32f123fdfa3e94eeb4ce2ad82aad353f6a3b87ac70bfebfdd30cc41927a737"

[[buildpacks]]
id = "heroku/scala"
uri = "docker://docker.io/heroku/buildpack-scala@sha256:14169e0dd1531b00f3d423787618425f1739af02ba21a9a6d88c4bc7024574cb"

[[order]]
[[order.group]]
id = "heroku/python"
version = "0.7.0"
[[order.group]]
id = "heroku/procfile"
version = "2.0.1"
optional = true

[[order]]
[[order.group]]
id = "heroku/nodejs-engine"
version = "1.1.6"
optional = true
[[order.group]]
id = "heroku/nodejs-yarn"
version = "1.1.6"
optional = true
[[order.group]]
id = "heroku/jvm"
version = "3.2.0"
optional = true
[[order.group]]
id = "heroku/ruby"
version = "2.0.1"
[[order.group]]
id = "heroku/procfile"
version = "2.0.1"
optional = true

[[order]]
[[order.group]]
id = "heroku/nodejs"
version = "1.1.6"

[[order]]
[[order.group]]
id = "heroku/java"
version = "3.2.0"

[[order]]
[[order.group]]
id = "heroku/scala"
version = "3.2.0"

[[order]]
[[order.group]]
id = "heroku/go"
version = "0.1.9"
[[order.group]]
id = "heroku/procfile"
version = "2.0.1"
optional = true

[[order]]
[[order.group]]
id = "heroku/php"
version = "0.1.1"
[[order.group]]
id = "heroku/procfile"
version = "2.0.1"
optional = true