From 20bcedc4772ba8738bb6a2b6e4dadebc3871da78 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Wed, 28 Mar 2018 16:21:46 -0400 Subject: [PATCH] Don't use docker if running in realm --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 111516a..cbf3c39 100644 --- a/Makefile +++ b/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 #