aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-05-11 17:16:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-05-11 17:16:00 +0200
commit3ad57644b0a39645e3f4772e86873010023e0db1 (patch)
tree39449e5652580a707c0f96c71bafc28a327f657e
parentaf556fefdb137c92c8682fef1eee762bf7410d0c (diff)
Set --use-deprecated=legacy-resolver in pip calls
Change-Id: I3fbf72043b8c9145364eecfd091bba6553424b67 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/core/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index d377d0bd..b499cd74 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -15,11 +15,11 @@ RUN apk -U upgrade && \
(cd /src/functest-kubernetes && \
git fetch --tags https://gerrit.opnfv.org/gerrit/functest-kubernetes $BRANCH && \
git checkout FETCH_HEAD) && \
- pip3 install --no-cache-dir --src /src \
+ pip3 install --use-deprecated=legacy-resolver --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 \
setuptools_scm && \
- pip3 install --no-cache-dir --src /src \
+ pip3 install --use-deprecated=legacy-resolver --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 && \