uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
665 stars 146 forks source link

feat(qemu_static_image): add qemu_static_image option #104

Open LonghronShen opened 1 year ago

LonghronShen commented 1 year ago

By default, we use multiarch/qemu-user-static for non-x86 containers. The offical multiarch/qemu-user-static has been stuck at QEMU 7.1 for a while, and I have found a bug of QEMU 7.1 that has been fixed in QEMU 7.2. So I built a fork of multiarch/qemu-user-static with QEMU 7.2. The next thing is, adding a custom qemu_static_image option to use it. By the way, it is not necessary to install any qemu apt package outside of the container, since the qemu-user-static binaries has been included in the multiarch/qemu-user-static image.