From 1ef56828f879bfaf9db05502ec3f5fecc4a36d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Thu, 29 Dec 2016 18:22:00 +0100 Subject: [PATCH] Remove build containers 5 containers are created during the build and not used anymore. Removing them. --- build/pause/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pause/Makefile b/build/pause/Makefile index 81f4174cc3b..27f1e2a99d6 100644 --- a/build/pause/Makefile +++ b/build/pause/Makefile @@ -69,7 +69,7 @@ build: bin/$(BIN)-$(ARCH) bin/$(BIN)-$(ARCH): $(SRCS) mkdir -p bin - docker run -u $$(id -u):$$(id -g) -v $$(pwd):/build \ + docker run --rm -u $$(id -u):$$(id -g) -v $$(pwd):/build \ $(KUBE_CROSS_IMAGE):$(KUBE_CROSS_VERSION) \ /bin/bash -c "\ cd /build && \