Skip to content

Commit

Permalink
No need to duplicate QEMU_VERSION build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Dec 16, 2019
1 parent 38da45b commit 8855e84
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
ARG QEMU_VERSION=4.2.0

# Build stage for qemu-system-arm
FROM debian:stable-slim AS qemu-system-arm-builder
ARG QEMU_VERSION
ARG QEMU_VERSION=4.2.0
ENV QEMU_TARBALL="qemu-${QEMU_VERSION}.tar.xz"
WORKDIR /qemu

Expand Down Expand Up @@ -40,7 +38,6 @@ RUN strip "arm-softmmu/qemu-system-arm"
# Build the dockerpi VM image
FROM busybox:1.31 AS dockerpi-vm
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>"
ARG QEMU_VERSION
ARG RPI_KERNEL_URL="https://github.com/dhruvvyas90/qemu-rpi-kernel/archive/afe411f2c9b04730bcc6b2168cdc9adca224227c.zip"
ARG RPI_KERNEL_CHECKSUM="295a22f1cd49ab51b9e7192103ee7c917624b063cc5ca2e11434164638aad5f4"

Expand Down

0 comments on commit 8855e84

Please sign in to comment.