Improve Makefile
This commit is contained in:
		
							parent
							
								
									7d2177f8c4
								
							
						
					
					
						commit
						64f6fa68eb
					
				
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							|  | @ -426,8 +426,8 @@ image: ## Create the docker image from the Dockerfile. This image is used to bui | ||||||
| 
 | 
 | ||||||
| .PHONY: indocker | .PHONY: indocker | ||||||
| PWD := $(shell pwd) | PWD := $(shell pwd) | ||||||
| DOCKER_HOST_IP := $(shell minikube docker-env | grep DOCKER_HOST | cut -d '"' -f 2) | DOCKER_HOST_IP := $(shell minikube docker-env | grep DOCKER_HOST | cut -d '"' -f 2 2> /dev/null) | ||||||
| MINIKUBE_IP := $(shell minikube ip) | MINIKUBE_IP := $(shell minikube ip 2> /dev/null) | ||||||
| indocker: minikube-start image ## Run make in a docker container
 | indocker: minikube-start image ## Run make in a docker container
 | ||||||
| 	@echo "+ $@" | 	@echo "+ $@" | ||||||
| 	docker run --rm -it $(DOCKER_FLAGS) \
 | 	docker run --rm -it $(DOCKER_FLAGS) \
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue