Merge pull request #4444 from jcberthon/compose-master-armv7

Provide support for ARM 32bit
This commit is contained in:
Joffrey F 2017-03-01 14:31:05 -08:00 committed by GitHub
commit ac99bc5bbf
2 changed files with 76 additions and 1 deletions

View file

@ -5,11 +5,15 @@ set -ex
TAG="docker-compose:$(git rev-parse --short HEAD)"
# By default use the Dockerfile, but can be overriden to use an alternative file
# e.g DOCKERFILE=Dockerfile.armhf script/test/default
DOCKERFILE="${DOCKERFILE:-Dockerfile}"
rm -rf coverage-html
# Create the host directory so it's owned by $USER
mkdir -p coverage-html
docker build -t "$TAG" .
docker build -f ${DOCKERFILE} -t "$TAG" .
GIT_VOLUME="--volume=$(pwd)/.git:/code/.git"
. script/test/all