Fixed e2e docker build issue
This commit is contained in:
parent
4c8e61624e
commit
6cf82357a3
6
Makefile
6
Makefile
|
|
@ -261,6 +261,12 @@ docker-build: check-env ## Build the container
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
docker build . -t $(REPO):$(GITCOMMIT) --file build/Dockerfile
|
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
|
.PHONY: docker-images
|
||||||
docker-images: ## List all local containers
|
docker-images: ## List all local containers
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,7 @@ Run e2e tests with minikube:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make minikube-run
|
make minikube-run
|
||||||
eval $(minikube docker-env)
|
make docker-build-e2e
|
||||||
make docker-build
|
|
||||||
make e2e E2E_IMAGE=jenkins-operator
|
make e2e E2E_IMAGE=jenkins-operator
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue