Make linuxkit/binfmt multi-arch for amd64 and arm64
The image linuxkit/binfmt currently only has amd64. For Docker Desktop for Mac M1 Apple Silicon we need this image for arm64 that also enables qemu for amd64 binaries running on the new Apple chips.
As a workaround we currently use https://github.com/tonistiigi/binfmt which is built for several architectures and that registers qemu for all other CPU architectures. It uses GH actions workflows to build and deploy the image.
How can we help to make the linuxkit/binfmt image multi-arch for that purpose? How and where is the linuxkit/binfmt image pushed, can we use eg. the approach from Tonis repo to bring it upstream?
Do the alpine versions of qemu work for arm64? They are already included for into the alpine base image and it should be relatively easy to add support
Unfortunately not, I still can reproduce the DNS lookup problem in https://gitlab.alpinelinux.org/alpine/aports/-/issues/8131 Tested with the 5.0.0 qemu binary from alpine image.