Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(superchain): arm64 support (#2949)
Introducing ARM64 support for the `jsii/superchain` docker image using the multi-arch capabilities of `docker buildx`. This prompted a couple of changes in the image, which should be fine for the majority of use-cases, but is a breaking change in certain edge cases... So this change also changes the image tagging model, so that users are able to reliably depend on a particular linux distribution ancestry (`debian:buster-slim` being the only offered option at this moment). The new image is based off `debian:10-slim`, as unfortunately, binary distributions of some of the image contents are not available for ARM64 platform on the RHEL/CentOS-based distributions (which `amazonlinux:2` is). This means packages now get installed from `apt` instead of `yum`. Image testing (by building `jsii` within the image) is now part of the image build process itself, instead of being separated, as this allows testing on all supported architectures (which is otherwise somewhat more difficult to achieve). BREAKING CHANGE: the `jsii/superchain` image tags `:latest`, `:nightly`, `:node10` and `:node14` are no longer maintained. Users should migrate to the new debian-based tags starting with `:1-buster-slim`. Fixes #2930
- Loading branch information
1 parent
e729f5d
commit ceb66a6
Showing
9 changed files
with
800 additions
and
134 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.dockerignore | ||
/build-local.sh |
Oops, something went wrong.