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:30:56 +0200
commit75170fc0b528c7e182b8164d5905fcbaa6957faa (patch)
tree193d0c451d4393194e710e5c6aa1f08d7cdba830
parentb91bd08044dd666a0096a7ce94c5c02756261d6a (diff)
Install setuptools_scm before xrallystable/hunter
Else upper-constraints basically fails. Change-Id: I022f101e2ed44708afd0b88d47b77d2f7ca85458 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/core/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index e1d55dcc..9e960022 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -19,6 +19,10 @@ RUN apk -U upgrade && \
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 \
+ setuptools_scm && \
+ 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 && \
(cd /usr/lib/python2.7/site-packages/rally && patch -p2 < /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch) && \
(cd /usr/lib/python2.7/site-packages/xrally_kubernetes/ && \