diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-31 11:54:36 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-31 15:03:36 +0200 |
commit | 23614e39ba732ad2bb4a4e65cdd99b09fd8cf658 (patch) | |
tree | 49dbbf92bb2610e3d0a58919056a9057e1a0490b /docker/healthcheck | |
parent | 4e4d75c75488c339a2e42dc4a5779fd2dd116a89 (diff) |
Fully remove kubernetes working dir
It hugely decreases the size of our containers.
Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 903393322806f197455bb0af7f486b33d0b19b69)
Diffstat (limited to 'docker/healthcheck')
-rw-r--r-- | docker/healthcheck/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile index cd08c255..cbe3a796 100644 --- a/docker/healthcheck/Dockerfile +++ b/docker/healthcheck/Dockerfile @@ -13,8 +13,8 @@ RUN apk --no-cache add --update make py-pip bash git go \ if [ "$(uname -m)" = "aarch64" ]; then sed -i "s/amd64/arm64/g" ./test/images/clusterapi-tester/pod.yaml ; fi && \ make kubectl ginkgo && \ make WHAT=test/e2e/e2e.test && \ - mv _output/bin/kubectl /usr/local/bin) && \ - rm -r /src/k8s.io/kubernetes/.git && \ + mv _output/bin/* /usr/local/bin) && \ + rm -r /src/k8s.io && \ apk del .build-deps COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] |