aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 5579be4c..58c07a5e 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -7,6 +7,10 @@ RUN apk -U upgrade && \
apk --no-cache add --update python py-pip bash git mailcap libxml2 libxslt && \
apk --no-cache add --virtual .build-deps --update \
python-dev build-base libxml2-dev libxslt-dev && \
+ case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \
+ pip install --no-cache-dir --src /src \
+ -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
+ -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH lxml ;; esac && \
git init /src/functest-xtesting && \
(cd /src/functest-xtesting && \
git fetch --tags https://gerrit.opnfv.org/gerrit/functest-xtesting $BRANCH && \