Skip to content

Commit

Permalink
Merge pull request #19 from hivesolutions/small_fix
Browse files Browse the repository at this point in the history
fix: variable name
  • Loading branch information
joamag authored Nov 21, 2023
2 parents 1a4289f + 0f35edc commit 5f8ea9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qemu_rpi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG USERNAME=pi
ARG PASSWORD=raspberry

ARG RPI_IMAGE_URL=https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64.img.xz
ARG RPI_IMAGE_SHA512=e7c0c89db32d457298fbe93195e9d11e3e6b4eb9e0683a7beb1598ea39a0a7aa
ARG RPI_IMAGE_SHA256=e7c0c89db32d457298fbe93195e9d11e3e6b4eb9e0683a7beb1598ea39a0a7aa
ARG RPI_IMAGE_FILE=2023-05-03-raspios-bullseye-arm64.img

ENV QEMU_MACHINE raspi3b
Expand All @@ -24,7 +24,7 @@ RUN apt-get update -y &&\

# Downloading RPi image and validating its checksum
RUN wget "${RPI_IMAGE_URL}" -O "${RPI_IMAGE_FILE}.xz" &&\
echo "${RPI_IMAGE_SHA512} ${RPI_IMAGE_FILE}.xz" | sha256sum -c - &&\
echo "${RPI_IMAGE_SHA256} ${RPI_IMAGE_FILE}.xz" | sha256sum -c - &&\
xz -d ${RPI_IMAGE_FILE}.xz

# Resizing the image to the next power of two as required by QEMU
Expand Down

0 comments on commit 5f8ea9a

Please sign in to comment.