makefile: fix mounting volumes under SELinux
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-04-21 16:43:13 +02:00
parent 244bb4cc2d
commit 3e2596d7a8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -4,7 +4,7 @@ dtag = immawanderer/fedora-minimal:testbuild
dargs = build -t $(dtag) --no-cache --pull - < $(dfile) dargs = build -t $(dtag) --no-cache --pull - < $(dfile)
cleanargs = image rm -f $(dtag) cleanargs = image rm -f $(dtag)
pruneargs = system prune -af pruneargs = system prune -af
dargskaniko = run --rm -it -w=$(kanikowdir) -v $$PWD:$(kanikowdir):ro dargskaniko = run --rm -it -w=$(kanikowdir) -v $$PWD:$(kanikowdir):z
kanikoexecutorimg = gcr.io/kaniko-project/executor:v1.8.1-debug kanikoexecutorimg = gcr.io/kaniko-project/executor:v1.8.1-debug
kanikowdir = /src kanikowdir = /src
kanikocontext = . kanikocontext = .
@ -13,7 +13,7 @@ vcs_ref = $$(git rev-parse --short HEAD)
build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ") build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ")
hadolintimg = ghcr.io/hadolint/hadolint hadolintimg = ghcr.io/hadolint/hadolint
hadolinttag = v2.10.0-alpine hadolinttag = v2.10.0-alpine
hadolintargs = run --rm -i -v $$PWD:/src:ro --workdir=/src hadolintargs = run --rm -i -v $$PWD:/src:z --workdir=/src
.PHONY: hadolint build kaniko clean test prune .PHONY: hadolint build kaniko clean test prune