diff --git a/.travis.yml b/.travis.yml index 2b29339..81d60bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,8 @@ services: env: matrix: - - ARCH=arm BASE_IMAGE=arm32v7/debian:jessie-slim - - ARCH=arm64 BASE_IMAGE=arm64v8/debian:jessie-slim - + - ARCH=arm QEMU=qemu-arm-static BASE_IMAGE=arm32v7/debian:jessie-slim + - ARCH=arm64 QEMU=qemu-aarch64-static BASE_IMAGE=arm64v8/debian:jessie-slim script: - ./travis-build.sh diff --git a/Dockerfile b/Dockerfile index d536e69..026de0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ +ARG QEMU=qemu-arm-static ARG BASE_IMAGE=amd64/debian:stretch-slim FROM ${BASE_IMAGE} -COPY qemu-arm-static /usr/bin/qemu-arm-static +COPY ${QEMU} /usr/bin/${QEMU} RUN apt-get update && \ apt-get install -y \