Merge "Add functest-features based on Alpine"
[functest.git] / docker / features / Dockerfile
1 FROM opnfv/functest-core
2
3 ARG BRANCH=master
4 ARG OPENSTACK_TAG=stable/ocata
5
6 COPY thirdparty-requirements.txt thirdparty-requirements.txt
7 RUN apk --no-cache add --virtual .build-deps --update \
8         python-dev build-base linux-headers libffi-dev \
9         openssl-dev libjpeg-turbo-dev git && \
10     pip install --no-cache-dir --src /src \
11         -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
12         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
13         -rthirdparty-requirements.txt && \
14     rm -r thirdparty-requirements.txt && \
15     apk del .build-deps
16 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
17 CMD ["bash","-c","prepare_env start && run_tests -t all"]