File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ VERSION_MAJOR_MINOR := $(shell echo $(VERSION_MAJOR_MINOR_PATCH) | cut -f 1,2 -d
99VERSION_MAJOR := $(shell echo $(VERSION_MAJOR_MINOR ) | cut -f 1 -d '.')
1010COMMIT := $(shell git rev-parse --short HEAD)
1111MAKEFILE := $(ROOTDIR ) /Makefile
12+ UBI := registry.access.redhat.com/ubi8/ubi-minimal:8.0
1213
1314ifndef NODOCKER
1415 DOCKERCLI := $(shell which docker)
@@ -92,7 +93,7 @@ docker: check-vars build
9293 docker push $(DOCKERIMAGE ) -$$ arch ; \
9394 done
9495 for arch in amd64; do \
95- sed -e ' s|FROM scratch|FROM registry.access.redhat.com/ubi8/ubi-minimal:8.0 |' Dockerfile.scratch > Dockerfile.ubi ; \
96+ sed -e ' s|FROM scratch|FROM $(UBI) |' Dockerfile.scratch > Dockerfile.ubi ; \
9697 docker build --build-arg=GOARCH=$$ arch -t $(DOCKERIMAGE ) -ubi -f Dockerfile.ubi . ; \
9798 rm -f Dockerfile.ubi ; \
9899 docker push $(DOCKERIMAGE ) -ubi ; \
You can’t perform that action at this time.
0 commit comments