aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-07-04 11:43:30 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-04 11:43:30 +0200
commitd273adf71f95b6705870e361b5f002ed55137f35 (patch)
treec2359f017f93f98fd4b8c8c7bfc2e43a911ab0bd /docker/smoke
parent68b95da5f02e32af9fa8d75fed8eb30f37798e39 (diff)
Avoid compiling numpy if arm
It reaches Travis-ci timeouts Change-Id: I30405cc1cd603a9dee96674d350d04eeb39e6add Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke')
-rw-r--r--docker/smoke/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 2c6f5052f..ae4e68644 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -20,7 +20,8 @@ RUN apk --no-cache add --update libxml2 libxslt && \
openssl-dev libjpeg-turbo-dev libxml2-dev libxslt-dev && \
case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \
pip3 install --no-cache-dir -c/src/requirements/upper-constraints.txt \
- -c/src/functest/upper-constraints.txt lxml ;; esac && \
+ -c/src/functest/upper-constraints.txt lxml && \
+ sed -i -E /^numpy=/d /src/requirements/upper-constraints.txt && apk add py3-numpy ;; esac && \
git init /src/patrole && \
(cd /src/patrole && \
git fetch --tags https://opendev.org/openstack/patrole.git $PATROLE_TAG && \