aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/healthcheck/Dockerfile')
-rw-r--r--docker/healthcheck/Dockerfile13
1 files changed, 12 insertions, 1 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index 21b46ef97..404ff2d58 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -1,4 +1,15 @@
FROM opnfv/functest-core
-COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
+ARG ODL_TAG=89b88a0a23561f0bda62338b394ec41655679b2d
+
+COPY thirdparty-requirements.txt thirdparty-requirements.txt
+RUN apk --no-cache add --virtual .build-deps --update \
+ python3-dev build-base linux-headers libffi-dev openssl-dev && \
+ git init /src/odl_test && \
+ (cd /src/odl_test && \
+ git fetch --tags https://git.opendaylight.org/gerrit/integration/test $ODL_TAG && \
+ git checkout FETCH_HEAD) && \
+ rm -r /src/odl_test/.git thirdparty-requirements.txt && \
+ apk del .build-deps
+COPY testcases.yaml /etc/xtesting/testcases.yaml
CMD ["run_tests", "-t", "all"]