rake-compiler / rake-compiler-dock

Easy to use and reliable cross compiler environment for building Windows, Linux, Mac and JRuby binary gems.
MIT License
77 stars 30 forks source link

Publish images for the `linux/arm64` Docker platform #78

Open ianks opened 1 year ago

ianks commented 1 year ago

In #76 I mentioned a request to publish linux/arm64 Docker images. Currently, building on M1 is unbearably slow in many cases due to the virtualization overhead. I’ve almost given up on running RCD locally as a result.

Using linux/arm64 images removes the virtualization overhead and makes the local development experience much better.

flavorjones commented 9 months ago

@ianks I'm curious - is the aarch64-linux support not sufficient for your needs?

ianks commented 9 months ago

@ianks I'm curious - is the aarch64-linux support not sufficient for your needs?

I'm referring to the issue of compiling x86_64-linux on an arm64 machine. Currently, that requires full CPU emulation. Ideally, RCD could cut the x86_64-linux, etc images for multiple Docker platforms (linux/arm64 and linux/amd64)

flavorjones commented 9 months ago

Ah, right, I had totally forgotten the original context of this issue. Thanks for re-explaining.

ianks commented 1 month ago

@flavorjones I think this issue becomes simple to tackle now with Ubuntu base images

flavorjones commented 1 month ago

@ianks If you have the bandwidth, I'd gladly accept help. I'm unlikely to get to this in the next few weeks.