aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-06-10 18:40:09 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-06-10 18:40:09 +0200
commite06a4c62426a70faf81703eb43231ac5d2401b98 (patch)
treebbb9aa9811da15d818fb43a76555be1eab591127
parent3a6b9c3c5f98bbd363434ab57e32039d2dd9380f (diff)
Remove distlib from constraints
Else it fails when uninstalling distlib. https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-core-latest-build/48/console Change-Id: Ibec464eed800f5b9e7d55bff6bb02f1c43b15aff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/core/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 094b626f7..cb6996f07 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -24,6 +24,7 @@ RUN apk -U upgrade && \
git checkout FETCH_HEAD) && \
sed -i -E /^tempest==+.*$/d /src/requirements/upper-constraints.txt && \
sed -i -E /^six=/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 \