From 79be9446dbbfc9fc7ca3ade7c5a60c12c5f1af6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Flore-Th=C3=A9bault?= Date: Fri, 29 Nov 2024 09:22:21 +0100 Subject: [PATCH] chore: added environment variables to the Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabrice Flore-Thébault --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b17ea9f..fd97283 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,12 @@ DOCS_SERVE_CONTAINER ?= docker.io/httpd:alpine DOCS_TEST_CONTAINER ?= docker.io/wjdp/htmltest:latest DOCS_BUILD_TARGET ?= ./source/getting_started/master.adoc +CONTAINER_RUNTIME ?= podman +SELINUX_VOLUME_LABEL = :Z +ifeq ($(GOOS),darwin) +SELINUX_VOLUME_LABEL := +endif + .PHONY: build_docs build_docs: ${CONTAINER_RUNTIME} run -v $(CURDIR):/antora$(SELINUX_VOLUME_LABEL) --rm $(DOCS_BUILD_CONTAINER) --stacktrace antora-playbook.yml