File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Fetch base image
21FROM debian:stretch as qemu
32
43ENV 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-*"
2827ARG TARGET_ARCH=arm-linux-user,aarch64-linux-user,ppc64le-linux-user,riscv64-linux-user
2928RUN 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
3433FROM busybox
3534COPY --from=qemu /usr/local/bin/qemu-arm /qemu-arm
3635COPY --from=qemu /usr/local/bin/qemu-aarch64 /qemu-aarch64
3736COPY --from=qemu /usr/local/bin/qemu-ppc64le /qemu-ppc64le
3837COPY --from=qemu /usr/local/bin/qemu-riscv64 /qemu-riscv64
38+
3939ADD register.sh /register.sh
4040CMD ["/register.sh" , "--reset" ]
You can’t perform that action at this time.
0 commit comments