Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Publish aarch64 builds #26

Closed
derdaele opened this issue Dec 12, 2020 · 3 comments · Fixed by #30
Closed

Publish aarch64 builds #26

derdaele opened this issue Dec 12, 2020 · 3 comments · Fixed by #30

Comments

@derdaele
Copy link

When running on Apple Silicon (ARM64 ISA), the current image is emulated and thus slower. It would be nice to have ARM64 images published to docker hub.

Building locally by changing the rustup version to https://static.rust-lang.org/rustup/dist/aarch64-unknown-linux-gnu/rustup-init seems to work.

@sfackler
Copy link
Member

Ah yeah we should be able to do the same here that was done in the stable images in rust-lang/docker-rust#67. Feel free to make a PR, or I can do it alternatively.

@derdaele
Copy link
Author

Happy to take a stab at it.

Any idea on how to actually actually build the arm64 version? docker build uses the host arch by default.
I think we could use docker buildx for that but I'm not sure how to set that up with with travis, any experience with that?

@sfackler
Copy link
Member

Oh right, we're only publishing x86_64 images right now. It sounds like there's some experimental buildx support on the hub, but it's not super obvious how to use it: docker/hub-feedback#1874

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

Successfully merging a pull request may close this issue.

2 participants