From f8756e33e2ef74428c6806b669add622e83e0c44 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 16 Nov 2022 09:30:44 -0600 Subject: [PATCH] Makefile: allow volumes to work on selinux Volumes need the "z" option to work on selinux enabled systems. This has no affect on systems that are not selinux enabled. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bbccd52762..abe141bd0e 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ TIMESTAMP := $(shell date -u +"%Y%m%d%H%M%S") all: $(DOCKER) build --tag zmk --file Dockerfile . $(DOCKER) run --rm -it --name zmk \ - -v $(PWD)/firmware:/app/firmware \ - -v $(PWD)/config:/app/config:ro \ + -v $(PWD)/firmware:/app/firmware:z \ + -v $(PWD)/config:/app/config:ro,z \ -e TIMESTAMP=$(TIMESTAMP) \ zmk