diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-18 16:00:35 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-18 16:00:35 +0200 |
commit | 2dcec69c4e9ed34d7046afa694e738c040be02e9 (patch) | |
tree | e247c63b394c9972e47f5db7069d115199a2cd3b | |
parent | c391f57e6797e544d14285ca433b2499ed84cd5f (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>
-rw-r--r-- | docker/vnf/Dockerfile | 2 |
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 \ |