mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
Add Risc-V support and only ship binaries we use
Ported from https://github.com/docker/binfmt/pull/21 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
dbcf2611a0
commit
c01f72d556
@ -4,7 +4,9 @@ RUN apt-get update && apt-get install -y qemu-user-static && \
|
||||
mv /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64 && \
|
||||
mv /usr/bin/qemu-arm-static /usr/bin/qemu-arm && \
|
||||
mv /usr/bin/qemu-ppc64le-static /usr/bin/qemu-ppc64le && \
|
||||
mv /usr/bin/qemu-s390x-static /usr/bin/qemu-s390x
|
||||
mv /usr/bin/qemu-s390x-static /usr/bin/qemu-s390x && \
|
||||
mv /usr/bin/qemu-riscv64-static /usr/bin/qemu-riscv64 && \
|
||||
rm /usr/bin/qemu-*-static
|
||||
|
||||
FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS mirror
|
||||
|
||||
|
@ -6,3 +6,4 @@
|
||||
:qemu-arm:M:0:\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm:CF
|
||||
:qemu-ppc64le:M:0:\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15\x00:\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\x00:/usr/bin/qemu-ppc64le:CF
|
||||
:qemu-s390x:M:0:\x7f\x45\x4c\x46\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-s390x:CF
|
||||
:qemu-riscv64:M:0:\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xf3\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-riscv64:CF
|
||||
|
Loading…
Reference in New Issue
Block a user