From 157b9c0f3bb49a0059d646c246c943c507a2f5a5 Mon Sep 17 00:00:00 2001 From: Aaron Weitekamp Date: Tue, 6 Sep 2016 16:28:07 -0400 Subject: [PATCH] disable selinux for binary build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 520d2d3d..7605e782 100644 --- a/Makefile +++ b/Makefile @@ -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