aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-11-16 11:38:08 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-11-16 11:40:14 +0100
commit8006d3714ac6710b2e4b325e815b136dab800e0a (patch)
tree4b6fb38e3254c56e68feee8a60f75d9d7a9543bd /docker/smoke
parent5a6432da097480604129c63f741bb01e615c2037 (diff)
Optimize lxml build if arm
Else it raises timeouts on travis-ci.org: https://www.travis-ci.org/collivier/functest/builds/612068457 https://www.travis-ci.org/collivier/functest/builds/612116863 https://www.travis-ci.org/collivier/functest/jobs/612116916 Change-Id: Id34144ebcdf3f418d5a07068434eb7aa96b023d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6fd2216a21aad00a0c6fba272f04ee0319fc119a)
Diffstat (limited to 'docker/smoke')
-rw-r--r--docker/smoke/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 15aecd667..68c91b806 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -20,6 +20,7 @@ RUN apk --no-cache add --update libxml2 libxslt && \
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 && \
+ case $(uname -m) in aarch*|arm*) CFLAGS="-O0" pip3 install --no-cache-dir -cupper-constraints.txt -cupper-constraints.opnfv.txt lxml ;; esac && \
git init /src/patrole && \
(cd /src/patrole && \
git fetch --tags https://opendev.org/openstack/patrole.git $PATROLE_TAG && \