mirror of
https://github.com/containers/skopeo.git
synced 2025-07-12 14:08:37 +00:00
Merge pull request #171 from aweiteka/makefile
Fix selinux perms in Makefile binary build
This commit is contained in:
commit
2c78131d1d
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user