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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user