-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: build images from heroku/heroku:STACK-build images
Rather than try and emulate the work heroku is doing, use their upstream images as is. This simplifies the build process signficantly, and allows us to only layer the necessary on top of their images. This was not previously possible due to missing arm64 support, which is introduced in the heroku-24 stack. Thus, this will fail for all other stacks.
- Loading branch information
1 parent
d65dff8
commit 22b2e5f
Showing
14 changed files
with
56 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
heroku: | ||
- 20 | ||
- 22 | ||
- 24 | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# apt-install - install packages using apt-get | ||
# Usage: apt-install package1 package2 package3 ... | ||
|
||
main() { | ||
declare PACKAGES=("$@") | ||
|
||
if [[ ${#PACKAGES[@]} -eq 0 ]]; then | ||
echo "Usage: apt-install package1 package2 package3 ..." | ||
exit 1 | ||
fi | ||
|
||
DEBIAN_FRONTEND=noninteractive | ||
apt-get update | ||
apt-get -o Dpkg::Use-Pty=0 --no-install-recommends -y install "${PACKAGES[@]}" | ||
apt-get clean | ||
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* /var/tmp/* | ||
} | ||
|
||
main "$@" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.