From 9afc10b23c607f0c19e325573f8283a5ba7ea001 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 13 Dec 2019 20:28:45 +0700 Subject: [PATCH] Make sure we're working in /tmp --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ecb6301..1e0b94f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ LABEL maintainer="Luke Childs " ADD https://github.com/dhruvvyas90/qemu-rpi-kernel/archive/master.zip /tmp/qemu-rpi-kernel-master.zip -RUN unzip /tmp/qemu-rpi-kernel-master.zip -d ~ && rm -rf /tmp/* +RUN cd /tmp && unzip qemu-rpi-kernel-master.zip -d ~ && rm -rf /tmp/* VOLUME /filesystem.img @@ -28,4 +28,4 @@ LABEL maintainer="Luke Childs " ADD http://downloads.raspberrypi.org/raspbian/images/raspbian-2019-09-30/2019-09-26-raspbian-buster.zip /tmp/filesystem.zip -RUN unzip /tmp/*.zip -d /tmp && mv /tmp/*.img /filesystem.img && rm -rf /tmp/* +RUN cd /tmp && unzip *.zip && mv *.img /filesystem.img && rm -rf /tmp/*