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

Cross-build arm64 container #32

Open
bgilbert opened this issue Jun 17, 2022 · 0 comments
Open

Cross-build arm64 container #32

bgilbert opened this issue Jun 17, 2022 · 0 comments

Comments

@bgilbert
Copy link
Contributor

The arm64 container currently builds in an emulated arm64 host via qemu-user. It would be much more efficient to cross-build from amd64 by having the Dockerfile specify FROM --platform=$BUILDPLATFORM for the builder container and set GOARCH=$TARGETARCH. However, Buildah < 1.24.1 doesn't support --platform in FROM. Once a new enough Buildah has landed in ubuntu-latest, switch to cross-building, and re-enable arm64 container builds in PRs by dropping the pr-arches override.

Followup to #31. See also coreos/butane#334.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant