aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core
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:36:37 +0200
commit3a58b1019c0f0a3e4ec3ce8be16ffd9a15edf518 (patch)
treea33493115107a6fbe7929f5eb8e2896779a80f4c /docker/core
parent16f4a0c29fcfd1c6dc577394d9627845f559f177 (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)
Diffstat (limited to 'docker/core')
-rw-r--r--docker/core/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 5ed2c698..dd98ffa5 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -26,6 +26,10 @@ RUN apk -U upgrade && \
pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
-c/src/requirements/upper-constraints.txt \
+ setuptools_scm && \
+ pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src \
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
+ -c/src/requirements/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/ && \