1 FROM opnfv/functest-core
4 ARG OPENSTACK_TAG=stable/pike
5 ARG RALLY_TAG=stable/0.10
6 ARG OS_FAULTS_TAG=0.1.16
8 RUN apk --no-cache add --update \
9 python libffi libssl1.0 libjpeg-turbo py-pip bash \
10 grep sed wget ca-certificates git openssh-client && \
11 apk --no-cache add --virtual .build-deps --update \
12 python-dev build-base linux-headers libffi-dev \
13 openssl-dev libjpeg-turbo-dev && \
14 wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG | \
15 sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ | \
16 > upper-constraints.txt && \
17 pip install --no-cache-dir --src /src -cupper-constraints.txt \
18 -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
19 git+https://gerrit.opnfv.org/gerrit/parser#egg=nfv-heattranslator\&subdirectory=tosca2heat/heat-translator \
20 git+https://gerrit.opnfv.org/gerrit/parser#egg=nfv-toscaparser\&subdirectory=tosca2heat/tosca-parser \
21 -e git+https://gerrit.opnfv.org/gerrit/parser#egg=nfv-parser && \
22 rm upper-constraints.txt && \
24 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
25 CMD ["bash","-c","prepare_env start && run_tests -t all"]