Skip to content

Commit

Permalink
check if qemu exist and copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaerber committed Nov 20, 2017
1 parent 1e6fc56 commit 17318f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG ARCH=amd64
FROM ${ARCH}/debian:stretch-slim
RUN cp tmp/qemu-arm-static /usr/bin/qemu-arm-static

RUN [ -f tmp/qemu-arm-static ] && cp tmp/qemu-arm-static /usr/bin/qemu-arm-static || echo "no qemu bin found"

RUN apt-get update && \
apt-get install -y \
Expand Down

0 comments on commit 17318f1

Please sign in to comment.