Merge pull request #98799 from claudiubelu/images/cleanup-run

images: Removes containers after they've run
This commit is contained in:
Kubernetes Prow Robot
2021-02-22 22:24:11 -08:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ container: .container-${OS}-$(ARCH)
orphan: bin/orphan-linux-$(ARCH)
bin/orphan-linux-$(ARCH): linux/orphan.c
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 && \