summaryrefslogtreecommitdiffhomepage
path: root/images/arm-qemu/Dockerfile
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-01-07 20:48:58 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-07 20:48:58 -0800
commitbf343394d4988c01461b59b6b05bc508f26855eb (patch)
tree586ba320187829bbcc66382ee87c0f2f5502894a /images/arm-qemu/Dockerfile
parent77b340ce82230e4e0bded01f43232c708328cd7e (diff)
parent8de562b79942f5383ffbe67873df07509ca7fcb0 (diff)
Merge pull request #5207 from avagin:arm64-cross
PiperOrigin-RevId: 350691246
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