Skip to content

Commit

Permalink
Revert "docker: Manually register binfmts"
Browse files Browse the repository at this point in the history
This reverts commit 306d2ea.
  • Loading branch information
obbardc committed Nov 18, 2024
1 parent 032ca70 commit 786b298
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,6 @@ RUN apt-get update && \
arch-install-scripts && \
rm -rf /var/lib/apt/lists/*

# debian's qemu-user-static package no longer registers binfmts
# if running inside a virtualmachine; dockerhub builds are inside a vm
RUN for arch in aarch64 alpha arm armeb cris hexagon hppa m68k microblaze mips mips64 mips64el mipsel mipsn32 mipsn32el ppc ppc64 ppc64le riscv32 riscv64 s390x sh4 sh4eb sparc sparc32plus sparc64 xtensa xtensaeb; do \
update-binfmts --import qemu-$arch; \
done

COPY --from=builder $GOPATH/bin/debos /usr/local/bin/debos

# Install the latest archlinux-keyring, since the one in Debian is bound
Expand Down

0 comments on commit 786b298

Please sign in to comment.