Publish Functest Kubernetes Iruya
[functest-kubernetes.git] / docker / features / Dockerfile
1 FROM opnfv/functest-kubernetes-core:iruya
2
3 ARG OPENSTACK_TAG=stable/stein
4 ARG OPNFV_TAG=stable/iruya
5
6 COPY thirdparty-requirements.txt thirdparty-requirements.txt
7 RUN apk --no-cache add --update make py-pip bash git go \
8         grep rsync linux-headers musl-dev findutils \
9         libffi openssl libjpeg-turbo && \
10     apk --no-cache add --virtual .build-deps --update \
11         python-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
12     pip install \
13         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
14         -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
15         -rthirdparty-requirements.txt && \
16     rm -f thirdparty-requirements.txt && \
17     apk del .build-deps
18 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
19 CMD ["run_tests", "-t", "all"]