aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-10-27 15:04:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-10-27 15:04:17 +0200
commitad83b91a1668547ebb7212d4c788118215f02566 (patch)
tree957b1e80b5afdd8fb7fb4c1d447934f22be67672 /docker/core/Dockerfile
parent55879c22390bd24e696761d4c04fea34ed5a1e87 (diff)
Remove distlib from upper-constraints.txt
https://build.opnfv.org/ci/job/functest-opnfv-functest-core-latest-build/53/console Change-Id: I948c6f5913ba1984dba6f18ae5554c3bc2a3d99b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index a3e010536..cf64d48e7 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -25,6 +25,7 @@ RUN apk -U upgrade && \
git fetch --tags https://gerrit.opnfv.org/gerrit/functest $BRANCH && \
git checkout FETCH_HEAD) && \
sed -i -E /^tempest==+.*$/d /src/requirements/upper-constraints.txt && \
+ sed -i -E /^distlib=/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 --use-deprecated=legacy-resolver --no-cache-dir --src /src -c/src/functest/upper-constraints.txt -c/src/requirements/upper-constraints.txt \