Generate docker images for ARM/64 using Linux

Hello everyone, I would like to know if there is any way of using Linux and preferably using GitLab runner or GitHub runners. generate images for ARM/64 using Linux!

I say this because today I work with Gitlab and all my CI/CD runs on top of the platform, I’m testing the use of ARM at OCI and in the future at AWS to try to reduce costs, but I’m suffering to generate the images, as from what I’ve seen in the documentation, the command docker buildx build --platform linux/amd64,linux/arm64 only works on Windows and Mac.

I would like to know if there is any compromise to this because it is impossible for me to migrate my pipeline to a Windows just to generate my test, homologation and production docker images.

Hi, there is a similar topic here

I suggest to try the blog post I recommended there. (you need qemu on Linux)