disable selinux for binary build

This commit is contained in:
Aaron Weitekamp 2016-09-06 16:28:07 -04:00
parent ee89d2c6a4
commit 157b9c0f3b

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