From 2dcec69c4e9ed34d7046afa694e738c040be02e9 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 18 Jul 2018 16:00:35 +0200 Subject: Delete the right dir when building functest-vnf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It reduces a lot the size of the docker image. Change-Id: Ifd577169697b33dfd89594e8dd3afe4aa34ec7f9 Signed-off-by: Cédric Ollivier --- docker/vnf/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') 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 \ -- cgit 1.2.3-korg