aboutsummaryrefslogtreecommitdiffstats
path: root/docker/features/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/features/Dockerfile')
-rw-r--r--docker/features/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile
index e3b0dcad..e4c60b64 100644
--- a/docker/features/Dockerfile
+++ b/docker/features/Dockerfile
@@ -4,16 +4,16 @@ ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
COPY thirdparty-requirements.txt thirdparty-requirements.txt
-RUN apk --no-cache add --update make py-pip bash git go \
+RUN apk --no-cache add --update make bash git go \
grep rsync linux-headers musl-dev findutils \
libffi openssl libjpeg-turbo && \
apk --no-cache add --virtual .build-deps --update \
- python-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
- pip install \
+ python3-dev libffi-dev openssl-dev libjpeg-turbo-dev && \
+ pip3 install \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
-chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
-rthirdparty-requirements.txt && \
rm -f thirdparty-requirements.txt && \
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"]