From e38bb1ee4c2a5c2e03ad7af46631da37c5f189ba Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 12 May 2019 12:58:29 +0200 Subject: Update to Python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker/healthcheck/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docker/healthcheck') 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"] -- cgit 1.2.3-korg