-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial fixes to support multi-arch container building (#2524)
* Do not constrain the architecture in the Docker debian repo: Docker debian repo has AMD64 and ARM64 images both. Do not contstrain it, so that a multi-platform build image can be built. * Support building AMD64 and ARM64 images: 1. Pass architecture from the Makefile and override the hardcoded AMD64 in the goreleaser file. 2. AMD64 artifacts have a _v1 suffix, ARM64 artifacts don't: relas the "cp" source glob to support both. * License extractor architecture does not have to be the same as the built image architecture: It's perfectly fine to use the native license extractor arch even when building a non-native architecture image. * Use current container's arch when downloading Kind into build container * Use TARGETPLATFORM argument in the build container * Build the build container for Intel and ARM architectures --------- Co-authored-by: Daniil Fedotov <daniil.fedotov@kasten.io>
- Loading branch information
Showing
4 changed files
with
10 additions
and
5 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
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