From 1db9a8723b8e1fab63096e048147105823567e1e Mon Sep 17 00:00:00 2001 From: Ramachandran C <61575596+RamBITS-AI@users.noreply.github.com> Date: Thu, 19 Dec 2024 05:39:52 +0530 Subject: [PATCH] Update Makefile --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e41c359c76d6..15d916f703bc 100644 --- a/Makefile +++ b/Makefile @@ -190,11 +190,9 @@ define DOCKER docker run --rm -e GOCACHE=/app/.cache -e IN_DOCKER=1 --user $(shell id -u):$(shell id -g) -w /app -v $(PWD):/app -v $(GOPATH):/go --init $(1) /bin/bash -c '$(2)' endef -# ifeq ($(BUILD_IN_DOCKER),y) -# MINIKUBE_BUILD_IN_DOCKER=y -# endif - -MINIKUBE_BUILD_IN_DOCKER=y +ifeq ($(BUILD_IN_DOCKER),y) + MINIKUBE_BUILD_IN_DOCKER=y +endif # If we are already running in docker, # prevent recursion by unsetting the BUILD_IN_DOCKER directives.