aboutsummaryrefslogtreecommitdiffstats
path: root/docker
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:05:07 +0200
commit9db953f699d8aa6781a3dab60b63e928e0ba13a0 (patch)
treefc4a193a71949892e84062f3c5a64c78c5ba9b9c /docker
parent36a3003a95b2d67cef1810279131fcda97120f30 (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> (cherry picked from commit ad83b91a1668547ebb7212d4c788118215f02566)
Diffstat (limited to 'docker')
-rw-r--r--docker/core/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 61da3bfdf..708346eb8 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 \