Fixed e2e docker build issue

This commit is contained in:
antoniaklja 2018-12-19 22:50:39 +01:00
parent 4c8e61624e
commit 6cf82357a3
2 changed files with 7 additions and 2 deletions

View File

@ -261,6 +261,12 @@ docker-build: check-env ## Build the container
@echo "+ $@"
docker build . -t $(REPO):$(GITCOMMIT) --file build/Dockerfile
.PHONY: docker-build-e2e
docker-build-e2e: check-env ## Build the container for e2e tests
@echo "+ $@"
eval $(minikube docker-env)
docker build . -t $(REPO):$(GITCOMMIT) --file build/Dockerfile
.PHONY: docker-images
docker-images: ## List all local containers
@echo "+ $@"

View File

@ -48,8 +48,7 @@ Run e2e tests with minikube:
```bash
make minikube-run
eval $(minikube docker-env)
make docker-build
make docker-build-e2e
make e2e E2E_IMAGE=jenkins-operator
```