aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-05-11 18:36:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-05-11 18:36:05 +0200
commitd9720c02d5f6c2168db6a125b36ab8663745a1e3 (patch)
treecc4a27e4021d7eea669117fc7a701483c696ccba /docker/core
parent0a5473ad253dc919676abfd5baed2a169f412cf8 (diff)
Add --use-deprecated=legacy-resolver in pip calls
Change-Id: I4e0de592e07317d553d3f508c2f30d6ce66c354f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core')
-rw-r--r--docker/core/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 3d6198fa3..94a1482fc 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -25,10 +25,10 @@ RUN apk -U upgrade && \
sed -i -E /^neutron==+.*$/d /src/requirements/upper-constraints.txt && \
case $(uname -m) in aarch*|arm*) sed -i -E /^PyNaCl=/d /src/requirements/upper-constraints.txt && apk add --no-cache py3-pynacl ;; esac && \
sed -i -E /#egg=functest/d /src/functest/upper-constraints.txt && \
- pip3 install --no-cache-dir --src /src -c/src/functest/upper-constraints.txt -c/src/requirements/upper-constraints.txt \
+ pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src -c/src/functest/upper-constraints.txt -c/src/requirements/upper-constraints.txt \
-e /src/requirements && \
update-requirements -s --source /src/requirements /src/functest && \
- pip3 install --no-cache-dir --src /src -c/src/functest/upper-constraints.txt -c/src/requirements/upper-constraints.txt \
+ pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src -c/src/functest/upper-constraints.txt -c/src/requirements/upper-constraints.txt \
-e /src/functest && \
(cd /src/rally && patch -p1 < /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch) && \
sed -i -E /#egg=rally/d /src/functest/upper-constraints.txt && \