summaryrefslogtreecommitdiffhomepage
path: root/images/arm-qemu/Dockerfile
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-12-30 01:28:26 -0800
committerAndrei Vagin <avagin@gmail.com>2021-01-07 17:41:43 -0800
commit8de562b79942f5383ffbe67873df07509ca7fcb0 (patch)
tree319862c9742914020a08a6087d1f5054c3040b4e /images/arm-qemu/Dockerfile
parent599a3d0fb4cabbe6c56f4ac34dc9381eee365f52 (diff)
Add ARM smoke test
make BAZEL_CONFIG=aarch64 arm-qemu-smoke-test Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'images/arm-qemu/Dockerfile')
-rw-r--r--images/arm-qemu/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/images/arm-qemu/Dockerfile b/images/arm-qemu/Dockerfile
new file mode 100644
index 000000000..1a2ecaf42
--- /dev/null
+++ b/images/arm-qemu/Dockerfile
@@ -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