Why not use arm64v8/ubuntu when running on apple silicon? #1360
-
I'm pretty unfamiliar with docker, but is seems to me like the situation on M series macs involves running the build inside a QEMU instance shipped with binfmt. But, there exists https://hub.docker.com/r/arm64v8/ubuntu/ which would allow running natively, no? Curious as to if there is a blocker technically for this, as it seems like running in QEMU causes some headaches. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See #751, this is very high up on my wishlist. Infact, the entire codebase (aside from ci) now supports this possibility, and you can preview how it would work with #751 (comment). Here's also a more complete example without many of the bells our images have. Many of our images actually work fine on amd64 and arm64, the main issue is that github doesn't have native arm64 runners with docker so we'd have to use emulation to create the images. also, we don't need that specific ubuntu image, |
Beta Was this translation helpful? Give feedback.
See #751, this is very high up on my wishlist.
Infact, the entire codebase (aside from ci) now supports this possibility, and you can preview how it would work with #751 (comment). Here's also a more complete example without many of the bells our images have.
Many of our images actually work fine on amd64 and arm64, the main issue is that github doesn't have native arm64 runners with docker so we'd have to use emulation to create the images.
also, we don't need that specific ubuntu image,
ubuntu
is already multi-arch