From 52de442ce1ee5205ebda31f05053d998a634b700 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 8 Jan 2021 11:37:06 -0800 Subject: Build the arm-qemu docker image only for x86_64 It isn't used on aarch64. Signed-off-by: Andrei Vagin --- images/arm-qemu/Dockerfile | 12 ------------ images/arm-qemu/Dockerfile.x86_64 | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 images/arm-qemu/Dockerfile create mode 100644 images/arm-qemu/Dockerfile.x86_64 diff --git a/images/arm-qemu/Dockerfile b/images/arm-qemu/Dockerfile deleted file mode 100644 index 1a2ecaf42..000000000 --- a/images/arm-qemu/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -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 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 -- cgit v1.2.3