Hacker News new | ask | show | jobs
by dindresto 1549 days ago
You don't need an ARM runner to produce ARM images. Docker buildx supports building for more than one architecture through qemu: https://github.com/microsoft/azure-pipelines-tasks/issues/12...
1 comments

I thought building an ARM64 docker image with qemu on a Ryzen 9590X would be a good way to offload building docker images from my Raspberry Pi 4. My benchmarks in building an ARM64 Nginx image was the following:

Ryzen 9590X: 20:09 (20 min 9 sec)

Raspberry Pi 3: 15:46

Raspberry Pi 4 8GB: 4:34

That settled it for me.

For some reason I never considered RPi4 as build server. Thanks for your comment, I have one spare and will try to utilize it as gitlab runner.
Yes but on the ryzen (assuming you meant 5950x) you can build build 16 of them at once... Make sure you give qemu the right parameters too.