Add some build option in build.sh for supporting arm arch
[functest-kubernetes.git] / docker / features / Dockerfile
1 FROM opnfv/functest-kubernetes-core
2
3 ARG OPENSTACK_TAG=stable/queens
4 ARG OPNFV_TAG=master
5
6 RUN apk --no-cache add --update make py-pip bash git go \
7         grep rsync linux-headers musl-dev findutils \
8         libffi libssl1.0 libjpeg-turbo && \
9     apk --no-cache add --virtual .build-deps --update \
10         python-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
11     pip install \
12         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
13         -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
14         stor4nfv-tests clover && \
15     apk del .build-deps
16 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
17 CMD ["run_tests", "-t", "all"]