Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c8b4b4

Browse files
committedFeb 20, 2021
add auto-pause to docker image
1 parent 9ff413b commit 2c8b4b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ KICBASE_ARCH = linux/arm64,linux/amd64
651651
KICBASE_IMAGE_REGISTRIES ?= $(REGISTRY)/kicbase:$(KIC_VERSION) $(REGISTRY_GH)/kicbase:$(KIC_VERSION) kicbase/stable:$(KIC_VERSION)
652652

653653
.PHONY: push-kic-base-image
654-
push-kic-base-image: docker-multi-arch-builder ## Push multi-arch local/kicbase:latest to all remote registries
654+
push-kic-base-image: out/auto-pause docker-multi-arch-builder ## Push multi-arch local/kicbase:latest to all remote registries
655655
ifdef AUTOPUSH
656656
docker login gcr.io/k8s-minikube
657657
docker login docker.pkg.github.com

‎deploy/kicbase/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ COPY 10-network-security.conf /etc/sysctl.d/10-network-security.conf
2828
COPY 11-tcp-mtu-probing.conf /etc/sysctl.d/11-tcp-mtu-probing.conf
2929
COPY clean-install /usr/local/bin/clean-install
3030
COPY entrypoint /usr/local/bin/entrypoint
31+
# must first run make out/auto-pause
32+
COPY ../../out/auto-pause /usr/local/bin/auto-pause
3133

3234
# Install dependencies, first from apt, then from release tarballs.
3335
# NOTE: we use one RUN to minimize layers.

0 commit comments

Comments
 (0)
Please sign in to comment.