aboutsummaryrefslogtreecommitdiffstats
path: root/docker/features/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-05-28 13:36:25 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-05-28 15:54:23 +0200
commit9d47f817762c03e2b34e8f847f2616ffb5419e48 (patch)
treea0ccbc8cd3e914fd7f12dccc23e27457a91eb0d9 /docker/features/Dockerfile
parentba0478fb5497dc389aaf8742f8b7a4f03a8f866e (diff)
Remove PyNacl contraints in Features
It conforms with "Install PyNaCl via package" [1]. functest-feature may raise timeouts when cross-compiling PyNacl [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67956/ [2] https://travis-ci.org/collivier/functest/jobs/538119733 Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 7a628f087403089d282cda14bcba858d8b0bc6c3)
Diffstat (limited to 'docker/features/Dockerfile')
-rw-r--r--docker/features/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile
index 1ae8db1c9..c413d9846 100644
--- a/docker/features/Dockerfile
+++ b/docker/features/Dockerfile
@@ -11,6 +11,7 @@ RUN apk --no-cache add --update python3 sshpass && \
openssl-dev libjpeg-turbo-dev file && \
wget -q -O- https://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt > upper-constraints.txt && \
sed -i -E s/^tempest==+.*$/-e\ git+https:\\/\\/opendev.org\\/openstack\\/tempest@$TEMPEST_TAG#egg=tempest/ upper-constraints.txt && \
+ case $(uname -m) in aarch*|arm*) sed -i -E /^PyNaCl=/d upper-constraints.txt ;; esac && \
wget -q -O- https://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH > upper-constraints.opnfv.txt && \
sed -i -E /#egg=functest/d upper-constraints.opnfv.txt && \
pip install --no-cache-dir --src /src -cupper-constraints.txt \