mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 02:14:37 +00:00
Make sure we're working in /tmp
This commit is contained in:
parent
fa378bf162
commit
9afc10b23c
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ LABEL maintainer="Luke Childs <lukechilds123@gmail.com>"
|
|||
|
||||
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 <lukechilds123@gmail.com>"
|
|||
|
||||
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/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue