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

build go target on buildplatform #62

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

nilsgstrabo
Copy link
Contributor

It takes forever (~15 minutes) to build arm64 on amd64 using qemu.
go build supports building for other platforms using GOARCH and GOOS. We can therefore build arm64 images when running on amd64. This will reduces build time from ~15 min to ~1 min.

@nilsgstrabo nilsgstrabo requested a review from satr December 17, 2024 12:05
@nilsgstrabo nilsgstrabo self-assigned this Dec 17, 2024
@nilsgstrabo nilsgstrabo merged commit 56eca60 into master Dec 17, 2024
3 checks passed
@nilsgstrabo nilsgstrabo deleted the docker-go-build-arm-on-amd-platform branch December 17, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants