forked from brl/citadel
Don't use docker if running in realm
This commit is contained in:
parent
fe60f798a2
commit
20bcedc477
5
Makefile
5
Makefile
@ -5,6 +5,11 @@ BASE_BINDMOUNT = type=bind,source=$(BASE_DIR),target=/home/builder/citadel
|
||||
DOCKER_RUN = docker run -it --mount $(BASE_BINDMOUNT) citadel-builder
|
||||
DOCKER_RUN_PRIV = docker run -it --privileged --mount $(BASE_BINDMOUNT) citadel-builder
|
||||
|
||||
ifdef REALM_NAME
|
||||
undefine DOCKER_RUN
|
||||
undefine DOCKER_RUN_PRIV
|
||||
endif
|
||||
|
||||
#
|
||||
# https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user