Skip to content

Commit 0735629

Browse files
committed
Make the kicbase image build context much smaller
1 parent 4e4dcbb commit 0735629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ storage-provisioner-image: out/storage-provisioner-$(GOARCH) ## Build storage-pr
532532
.PHONY: kic-base-image
533533
kic-base-image: ## builds the base image used for kic.
534534
docker rmi -f $(REGISTRY)/kicbase:$(KIC_VERSION)-snapshot || true
535-
docker build -f ./hack/images/kicbase.Dockerfile -t $(REGISTRY)/kicbase:$(KIC_VERSION)-snapshot --build-arg COMMIT_SHA=${VERSION}-$(COMMIT) --cache-from $(REGISTRY)/kicbase:$(KIC_VERSION) --target base .
535+
docker build -f ./hack/images/kicbase.Dockerfile -t $(REGISTRY)/kicbase:$(KIC_VERSION)-snapshot --build-arg COMMIT_SHA=${VERSION}-$(COMMIT) --cache-from $(REGISTRY)/kicbase:$(KIC_VERSION) --target base ./hack/images
536536

537537
.PHONY: upload-preloaded-images-tar
538538
upload-preloaded-images-tar: out/minikube # Upload the preloaded images for oldest supported, newest supported, and default kubernetes versions to GCS.

0 commit comments

Comments
 (0)