From 6d1e164bb3d4f6d706eb7960e5971d1c6f627cb4 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 21 Apr 2022 14:18:16 +0200 Subject: [PATCH] makefile: SELinux-related fix for hadolint --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 817c7f6..dbebe7e 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,7 @@ vcs_ref = $$(git rev-parse --short HEAD) build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ") hadolintimg = hadolint/hadolint hadolinttag = v2.9.3-alpine -hadolintargs = run --rm -i -v $$PWD/.hadolint.yaml:/root/.config/hadolint.yaml - +hadolintargs = run --rm -i -v $$PWD:/src:z --workdir=/src .PHONY: hadolint build kaniko clean test prune hadolint: