From 30c98ad7c3bdc61c6541f72231666ca6994c709b Mon Sep 17 00:00:00 2001 From: Parker Date: Sat, 10 Jan 2026 22:51:05 +0900 Subject: [PATCH] KAFKA-20039: Fix Docker mount permission errors on SELinux-enabled systems --- .github/workflows/build-docker-image.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index d820379198..9680f41193 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -49,7 +49,7 @@ jobs: - name: Build Hugo site run: | # Build the site using the multi-platform Hugo image - docker run --rm -v $(pwd):/src hvishwanath/hugo:v0.123.7-ext-multiplatform \ + docker run --rm -v $(pwd):/src:z hvishwanath/hugo:v0.123.7-ext-multiplatform \ --minify \ --destination output diff --git a/Makefile b/Makefile index 226040c47b..b64e7edd71 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,14 @@ hugo-base-multi-platform: buildx-setup # Build the static site using Docker build: docker pull $(DOCKER_IMAGE) - docker run --rm -v $(PWD):/src $(DOCKER_IMAGE) \ + docker run --rm -v $(PWD):/src:z $(DOCKER_IMAGE) \ --minify \ --destination $(OUTPUT_DIR) # Serve the site locally using Docker (development) serve: docker pull $(DOCKER_IMAGE) - docker run --rm -it -v $(PWD):/src -p 1313:1313 $(DOCKER_IMAGE) \ + docker run --rm -it -v $(PWD):/src:z -p 1313:1313 $(DOCKER_IMAGE) \ server \ --bind 0.0.0.0 \ --destination $(OUTPUT_DIR) \