We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2056e6a + a61f8b7 commit fbdf673Copy full SHA for fbdf673
Makefile
@@ -9,7 +9,9 @@ CONTAINER_ENGINE ?= docker
9
IMAGE_REGISTRY ?= gcr.io/k8s-staging-sig-docs
10
IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12)
11
CONTAINER_IMAGE = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION)
12
-CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src"
+# Mount read-only to allow use with tools like Podman in SELinux mode
13
+# Container targets don't need to write into /src
14
+CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src:ro,Z"
15
16
CCRED=\033[0;31m
17
CCEND=\033[0m
0 commit comments