Merge pull request #171 from aweiteka/makefile

Fix selinux perms in Makefile binary build
This commit is contained in:
Antonio Murdaca 2016-09-06 23:03:55 +02:00 committed by GitHub
commit 2c78131d1d

View File

@ -40,7 +40,7 @@ all: binary docs
# Then do the build and the output (skopeo) should appear in current dir
binary: cmd/skopeo
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t skopeobuildimage .
docker run --rm -v ${PWD}:/src/github.com/projectatomic/skopeo \
docker run --rm --security-opt label:disable -v $$(pwd):/src/github.com/projectatomic/skopeo \
skopeobuildimage make binary-local $(if $(DEBUG),DEBUG=$(DEBUG))
# Build w/o using Docker containers