Remove go cache dir 71/66971/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 12 Feb 2019 09:07:17 +0000 (10:07 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 12 Feb 2019 09:45:46 +0000 (10:45 +0100)
It saves about 290M.

Change-Id: I603c689be989a603e933970f52510026026c7001
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 56c077dde1556b88030619cd4d26703060cb0824)

docker/vnf/Dockerfile

index 6564a83..7702576 100644 (file)
@@ -69,7 +69,7 @@ RUN apk --no-cache add --update \
     (cd /src/vims-test && bundle config build.nokogiri --use-system-libraries && bundle install --system) && \
     rm -r upper-constraints.txt upper-constraints.opnfv.txt /src/vims-test/.git /src/cloudify_vims/.git /src/heat_vims/.git /src/vims-test/quaff/.git \
         /src/vims-test/build-infra/.git /src/opnfv-vnf-vyos-blueprint/.git \
-        /src/epc-requirements/abot_charm/.git && \
+        /src/epc-requirements/abot_charm/.git /root/.cache/go-build && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
 CMD ["run_tests", "-t", "all"]