mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 02:14:37 +00:00
Only write the kernel files we actually use
This commit is contained in:
parent
50512deeff
commit
38da45bda2
1 changed files with 3 additions and 2 deletions
|
|
@ -52,8 +52,9 @@ RUN cd /tmp && \
|
|||
echo "$RPI_KERNEL_CHECKSUM qemu-rpi-kernel.zip" | sha256sum -c && \
|
||||
unzip qemu-rpi-kernel.zip && \
|
||||
mkdir -p /root/qemu-rpi-kernel && \
|
||||
cp -r qemu-rpi-kernel-*/* /root/qemu-rpi-kernel/ && \
|
||||
rm -rf /tmp/* /root/qemu-rpi-kernel/README.md /root/qemu-rpi-kernel/tools
|
||||
cp qemu-rpi-kernel-*/kernel-qemu-4.19.50-buster /root/qemu-rpi-kernel/ && \
|
||||
cp qemu-rpi-kernel-*/versatile-pb.dtb /root/qemu-rpi-kernel/ && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
VOLUME /sdcard
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue