diff options
author | Panagiotis Karalis <panos.pkaralis@gmail.com> | 2019-08-07 10:46:52 +0300 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-09-16 06:45:00 +0000 |
commit | 005d868d68dbb0e70b3f92a685ea269c4f646fd7 (patch) | |
tree | dcb1f0f64606b58f0c33e9dc96131fdbe4ed6398 /docker/Dockerfile.centos7 | |
parent | f0c44b1ae02ffbdb87da81dac7b6754c641d8c04 (diff) |
Move the proj to python3
The aim of this patch is to upgrade python version
of this project from python2 to python3.
Signed-off-by: Panagiotis Karalis <panos.pkaralis@gmail.com>
Change-Id: I3d3ef01176fda1b23a0542a24625be2f3368c40e
Diffstat (limited to 'docker/Dockerfile.centos7')
-rw-r--r-- | docker/Dockerfile.centos7 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/Dockerfile.centos7 b/docker/Dockerfile.centos7 index 258b939c..f9b944fe 100644 --- a/docker/Dockerfile.centos7 +++ b/docker/Dockerfile.centos7 @@ -14,7 +14,7 @@ LABEL version="0.1" description="OPNFV Dovetail Docker Container" ARG BRANCH=master RUN yum update -y && yum install -y sudo iproute epel-release && \ - yum install -y python-pip git docker && \ + yum install -y python3-pip git docker && \ sed -ie 's/requiretty/!requiretty/g' /etc/sudoers ENV HOME /home/opnfv @@ -23,9 +23,9 @@ WORKDIR /home/opnfv RUN git config --global http.sslVerify false && \ git clone --depth 1 -b $BRANCH https://git.opnfv.org/dovetail ${REPOS_DIR} && \ - pip install -U pip && \ - pip install -r ${REPOS_DIR}/requirements.txt && \ - pip install -e . && \ + pip3 install -U pip3 && \ + pip3 install -r ${REPOS_DIR}/requirements.txt && \ + pip3 install -e . && \ mkdir -p ${REPOS_DIR}/results WORKDIR ${REPOS_DIR}/dovetail |