5ec2471a856b2d310f93c0720eaa35d854ce4635
[functest.git] / docker / healthcheck / Dockerfile
1 FROM opnfv/functest-core
2
3 ARG ODL_TAG=89b88a0a23561f0bda62338b394ec41655679b2d
4
5 COPY thirdparty-requirements.txt thirdparty-requirements.txt
6 RUN apk --no-cache add --virtual .build-deps --update \
7         python3-dev build-base linux-headers libffi-dev openssl-dev && \
8     git init /src/odl_test && \
9     (cd /src/odl_test && \
10         git fetch --tags https://git.opendaylight.org/gerrit/integration/test $ODL_TAG && \
11         git checkout FETCH_HEAD) && \
12     rm -r /src/odl_test/.git thirdparty-requirements.txt && \
13     apk del .build-deps
14 COPY testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
15 CMD ["run_tests", "-t", "all"]