summaryrefslogtreecommitdiffhomepage
path: root/images/arm-qemu/Dockerfile.x86_64
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2021-01-08 11:37:06 -0800
committerAndrei Vagin <avagin@gmail.com>2021-01-08 11:39:18 -0800
commit52de442ce1ee5205ebda31f05053d998a634b700 (patch)
treec1ae8d71347b95f1d8b48def16096604b0c037f1 /images/arm-qemu/Dockerfile.x86_64
parentbf343394d4988c01461b59b6b05bc508f26855eb (diff)
Build the arm-qemu docker image only for x86_64
It isn't used on aarch64. Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'images/arm-qemu/Dockerfile.x86_64')
-rw-r--r--images/arm-qemu/Dockerfile.x86_6412
1 files changed, 12 insertions, 0 deletions
diff --git a/images/arm-qemu/Dockerfile.x86_64 b/images/arm-qemu/Dockerfile.x86_64
new file mode 100644
index 000000000..1a2ecaf42
--- /dev/null
+++ b/images/arm-qemu/Dockerfile.x86_64
@@ -0,0 +1,12 @@
+FROM fedora:33
+
+RUN dnf install -y qemu-system-aarch64 gzip cpio wget
+
+WORKDIR /workdir
+RUN wget -4 http://dl-cdn.alpinelinux.org/alpine/edge/releases/aarch64/netboot/vmlinuz-lts
+RUN wget -4 http://dl-cdn.alpinelinux.org/alpine/edge/releases/aarch64/netboot/initramfs-lts
+
+COPY initramfs /workdir/initramfs
+COPY test.sh /workdir/
+
+CMD ./test.sh