aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-18 16:00:35 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-18 16:00:35 +0200
commit2dcec69c4e9ed34d7046afa694e738c040be02e9 (patch)
treee247c63b394c9972e47f5db7069d115199a2cd3b /docker
parentc391f57e6797e544d14285ca433b2499ed84cd5f (diff)
Delete the right dir when building functest-vnf
It reduces a lot the size of the docker image. Change-Id: Ifd577169697b33dfd89594e8dd3afe4aa34ec7f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/vnf/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/vnf/Dockerfile b/docker/vnf/Dockerfile
index eb4a3d002..09bb6fb5a 100644
--- a/docker/vnf/Dockerfile
+++ b/docker/vnf/Dockerfile
@@ -36,7 +36,7 @@ RUN apk --no-cache add --update \
go get -d -v github.com/juju/juju/... || true && \
(cd $GOPATH/src/github.com/juju/juju && git checkout $JUJU_TAG && godeps -u dependencies.tsv) && \
go install -v github.com/juju/juju/... && \
- rm -rf $GOPATH/go/src/ $GOPATH/pkg && \
+ rm -r $GOPATH/src/ $GOPATH/pkg && \
(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/vims/.git /src/vims-test/quaff/.git \
/src/vims-test/build-infra/.git /src/opnfv-vnf-vyos-blueprint/.git \