Remove cache dir and force /src as src dst dir
[functest-kubernetes.git] / docker / core / Dockerfile
index 16477d5..760d614 100644 (file)
@@ -11,7 +11,7 @@ RUN apk --no-cache add --update python py-pip bash git grep mailcap && \
     (cd /src/functest-kubernetes && \
         git fetch --tags https://gerrit.opnfv.org/gerrit/functest-kubernetes $BRANCH && \
         git checkout FETCH_HEAD) && \
-    pip install \
+    pip 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 && \