Skip to content

Commit

Permalink
Makefile: allow volumes to work on selinux
Browse files Browse the repository at this point in the history
Volumes need the "z" option to work on selinux enabled systems. This has
no affect on systems that are not selinux enabled.
  • Loading branch information
jasonish committed Nov 16, 2022
1 parent 2562f62 commit f8756e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f8756e3

Please sign in to comment.