Don't use docker if running in realm

This commit is contained in:
Bruce Leidl 2018-03-28 16:21:46 -04:00
parent fe60f798a2
commit 20bcedc477

View File

@ -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 = docker run -it --mount $(BASE_BINDMOUNT) citadel-builder
DOCKER_RUN_PRIV = docker run -it --privileged --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 # https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
# #