Remove cache dir and force /src as src dst dir 05/70305/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 8 Jun 2020 08:21:59 +0000 (10:21 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 8 Jun 2020 08:21:59 +0000 (10:21 +0200)
Change-Id: I43846aa04e9e9951fc55543b8d2d2fda7c39bb64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/core/Dockerfile

index 5748c00..8eb1c65 100644 (file)
@@ -11,7 +11,7 @@ RUN apk --no-cache add --update python3 py3-pip bash git grep mailcap && \
     (cd /src/functest-kubernetes && \
         git fetch --tags https://gerrit.opnfv.org/gerrit/functest-kubernetes $BRANCH && \
         git checkout FETCH_HEAD) && \
-    pip3 install \
+    pip3 install --no-cache-dir --src /src \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
         -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
         /src/functest-kubernetes && \