diff options
| author | Jason Ish <ish@unx.ca> | 2022-11-16 09:30:44 -0600 |
|---|---|---|
| committer | Jason Ish <ish@unx.ca> | 2022-11-16 09:30:44 -0600 |
| commit | f8756e33e2ef74428c6806b669add622e83e0c44 (patch) | |
| tree | b81d62399785e9ce3c47a9ef0e12bd57c51ab4d9 /Makefile | |
| parent | 2562f62fdf47af240aa5abb632117cf259cdc9fa (diff) | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
