Create RobotFramework class
[functest.git] / docker / features / Dockerfile
1 FROM opnfv/functest-core
2
3 ARG BRANCH=master
4 ARG OPENSTACK_TAG=stable/pike
5 ARG FDS_TAG=master
6
7 COPY thirdparty-requirements.txt thirdparty-requirements.txt
8 RUN apk --no-cache add --update python3 sshpass && \
9     apk --no-cache add --virtual .build-deps --update \
10         python-dev python3-dev build-base linux-headers libffi-dev \
11         openssl-dev libjpeg-turbo-dev && \
12     wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG | \
13         sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ \
14         > upper-constraints.txt && \
15     pip install --no-cache-dir --src /src -cupper-constraints.txt \
16         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
17         -rthirdparty-requirements.txt && \
18     git clone --depth 1 -b $FDS_TAG https://gerrit.opnfv.org/gerrit/fds /src/fds && \
19     python3 -m pip install --no-cache-dir --src /src -cupper-constraints.txt \
20         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
21         doctor-tests && \
22     rm -r upper-constraints.txt thirdparty-requirements.txt /src/fds/.git && \
23     apk del .build-deps
24 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
25 CMD ["run_tests", "-t", "all"]