From 64f6fa68eb01d05d34b264c523eab0e79ba710a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Mon, 19 Aug 2019 16:53:14 +0200 Subject: [PATCH] Improve Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2407b8c9..5ccb4077 100644 --- a/Makefile +++ b/Makefile @@ -426,8 +426,8 @@ image: ## Create the docker image from the Dockerfile. This image is used to bui .PHONY: indocker PWD := $(shell pwd) -DOCKER_HOST_IP := $(shell minikube docker-env | grep DOCKER_HOST | cut -d '"' -f 2) -MINIKUBE_IP := $(shell minikube ip) +DOCKER_HOST_IP := $(shell minikube docker-env | grep DOCKER_HOST | cut -d '"' -f 2 2> /dev/null) +MINIKUBE_IP := $(shell minikube ip 2> /dev/null) indocker: minikube-start image ## Run make in a docker container @echo "+ $@" docker run --rm -it $(DOCKER_FLAGS) \