Skip to content

Commit 1a5741a

Browse files
committed
Cleanup Dockerfile
1 parent 9661bd0 commit 1a5741a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Fetch base image
21
FROM debian:stretch as qemu
32

43
ENV QEMU_VERSION 4.2.0
@@ -27,14 +26,15 @@ RUN curl -sSL https://github.com/resin-io/qemu/commit/db186a3f83454268c43fc793a4
2726
# - resulting binaries are located in "/usr/local/bin/qemu-*"
2827
ARG TARGET_ARCH=arm-linux-user,aarch64-linux-user,ppc64le-linux-user,riscv64-linux-user
2928
RUN mkdir build \
30-
&& cd build \
31-
&& ../configure --static --target-list=$TARGET_ARCH \
32-
&& make -j $(nproc) install
29+
&& cd build \
30+
&& ../configure --static --target-list=$TARGET_ARCH \
31+
&& make -j $(nproc) install
3332

3433
FROM busybox
3534
COPY --from=qemu /usr/local/bin/qemu-arm /qemu-arm
3635
COPY --from=qemu /usr/local/bin/qemu-aarch64 /qemu-aarch64
3736
COPY --from=qemu /usr/local/bin/qemu-ppc64le /qemu-ppc64le
3837
COPY --from=qemu /usr/local/bin/qemu-riscv64 /qemu-riscv64
38+
3939
ADD register.sh /register.sh
4040
CMD ["/register.sh", "--reset"]

0 commit comments

Comments
 (0)