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 arm64 docker image using qemu #2040

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

morganchristiansson
Copy link

@morganchristiansson morganchristiansson commented Jan 8, 2022

An attempt to build arm64 docker images.

If building arm64 binary with make cross on amd64 and then COPY binary in Dockerfile instead of compiling then it will run very fast with qemu. qemu is fast for high-io/low-cpu tasks and can build multi-arch docker images simply using docker buildx build --platforms=linux/amd64,linux/arm64,etc,etc

@morganchristiansson morganchristiansson force-pushed the docker-arm64 branch 5 times, most recently from 892076b to b2f03ce Compare January 8, 2022 16:36
@morganchristiansson morganchristiansson force-pushed the docker-arm64 branch 2 times, most recently from acbe0e0 to 62f0ed6 Compare January 8, 2022 17:01
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.

None yet

1 participant