Skip to content
Discussion options

You must be logged in to vote

For linux/386 on a GitHub-hosted ubuntu-latest runner, you normally do not need docker/setup-qemu-action

linux/386 is still x86. On an amd64 Linux runner, 32-bit x86 userspace can usually run through the host kernel's native compatibility support, so BuildKit does not need QEMU in the same way it would for a different ISA such as linux/arm64, linux/arm/v7, linux/ppc64le, linux/riscv64, or linux/s390x

QEMU is mainly needed when the build has to execute binaries for a non-native architecture. That is the common case for amd64 runners building ARM, PowerPC, RISC-V, s390x, etc

So for your linux/386 job, this should usually be enough:

- uses: docker/setup-buildx-action@v3

- uses: docker/build…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ericoporto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants