diff options
author | 2018-07-18 16:00:35 +0200 | |
---|---|---|
committer | 2018-07-18 16:16:27 +0200 | |
commit | 7cbc023312c4333313adbba5e7a4d1cbd48621a3 (patch) | |
tree | bbdfc5a8045999d24eded5cd41cb6779876c19c3 | |
parent | 95dcfcad2edd90ccde2b40281dab7464f6555237 (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>
(cherry picked from commit 2dcec69c4e9ed34d7046afa694e738c040be02e9)
-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 1b9c3b17c..5d4d42fa3 100644 --- a/docker/vnf/Dockerfile +++ b/docker/vnf/Dockerfile @@ -37,7 +37,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 /src/vims-test/.git /src/vims/.git /src/vims-test/quaff/.git \ /src/vims-test/build-infra/.git /src/opnfv-vnf-vyos-blueprint/.git \ |