aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-05-12 12:58:29 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-05-12 15:02:59 +0200
commite38bb1ee4c2a5c2e03ad7af46631da37c5f189ba (patch)
tree77e65b364fa7d50213dd219913664e9fe2c8f486 /docker/healthcheck/Dockerfile
parent29f0d544e7f523ec3884e98c892bf4e0b8efd178 (diff)
Update to Python3
Functest containers leverage on Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html Change-Id: I4f148e91259377b4e3b9076621f192a6e00f6009 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/healthcheck/Dockerfile')
-rw-r--r--docker/healthcheck/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index bafc3c4d..1ee82be4 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -2,11 +2,11 @@ FROM opnfv/functest-kubernetes-core
ARG K8S_TAG=master
-RUN apk --no-cache add --update make py-pip bash git \
+RUN apk --no-cache add --update make bash git \
grep rsync linux-headers musl-dev findutils \
libffi openssl libjpeg-turbo && \
apk --no-cache add --virtual .build-deps --update \
- gcc python-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
+ gcc python3-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
git init /src/k8s.io/kubernetes && \
(cd /src/k8s.io/kubernetes && \
git fetch --tags https://github.com/kubernetes/kubernetes $K8S_TAG && \
@@ -16,5 +16,5 @@ RUN apk --no-cache add --update make py-pip bash git \
mv _output/bin/* /usr/local/bin) && \
rm -r /src/k8s.io && \
apk del .build-deps
-COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
+COPY testcases.yaml /usr/lib/python3.6/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]