mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-23 02:14:37 +00:00
Check qemu-rpi-kernel sha25sum
This commit is contained in:
parent
3dc05da137
commit
adf063c124
1 changed files with 2 additions and 0 deletions
|
|
@ -41,12 +41,14 @@ RUN strip "arm-softmmu/qemu-system-arm"
|
|||
FROM busybox:1.31 AS dockerpi-vm
|
||||
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>"
|
||||
ARG QEMU_VERSION
|
||||
ENV RPI_KERNEL_CHECKSUM="295a22f1cd49ab51b9e7192103ee7c917624b063cc5ca2e11434164638aad5f4"
|
||||
|
||||
COPY --from=qemu-system-arm-builder /qemu/arm-softmmu/qemu-system-arm /usr/local/bin/qemu-system-arm
|
||||
|
||||
ADD https://github.com/dhruvvyas90/qemu-rpi-kernel/archive/afe411f2c9b04730bcc6b2168cdc9adca224227c.zip /tmp/qemu-rpi-kernel.zip
|
||||
|
||||
RUN cd /tmp && \
|
||||
echo "$RPI_KERNEL_CHECKSUM qemu-rpi-kernel.zip" | sha256sum -c && \
|
||||
mkdir -p /root/qemu-rpi-kernel && \
|
||||
unzip qemu-rpi-kernel.zip && \
|
||||
cp -r qemu-rpi-kernel-*/* /root/qemu-rpi-kernel/ && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue