aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-04-20 14:30:56 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-04-20 14:33:33 +0200
commit6491b103efdee18b71c763b78adc3acce484eaad (patch)
tree09b92940223a76eab187993b6f6305846614226c
parentd4996e2dbd2e0fc0eb3a25aad841fced57675fb1 (diff)
Install setuptools_scm before xrally
Else upper-constraints basically fails. Change-Id: I022f101e2ed44708afd0b88d47b77d2f7ca85458 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 75170fc0b528c7e182b8164d5905fcbaa6957faa)
-rw-r--r--docker/core/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 14881735..d377d0bd 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -18,6 +18,10 @@ RUN apk -U upgrade && \
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 \
+ setuptools_scm && \
+ 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 && \
(cd /src/rally && patch -p1 < /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch) && \
(cd /usr/lib/python3.8/site-packages/xrally_kubernetes/ && \