summaryrefslogtreecommitdiffstats
path: root/zte/vmanager/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-07-03 16:16:15 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-07-03 16:16:15 +0800
commitd19480a60b4337698df55f4d9c0fadbd38737811 (patch)
treece1f9f24f02255a6a714a9dd24fa8bf00e546e0e /zte/vmanager/docker
parent98315d35b20a4b035570ce86be9342526b6f3866 (diff)
Update python2 to python3
Change-Id: I1dfd73fe4a934ed1f46d016bdb29df17dfda2a75 Issue-ID: VFC-1429 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager/docker')
-rw-r--r--zte/vmanager/docker/Dockerfile2
-rwxr-xr-xzte/vmanager/docker/docker-env-conf.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/docker/Dockerfile b/zte/vmanager/docker/Dockerfile
index 3fbaa38d..466000e8 100644
--- a/zte/vmanager/docker/Dockerfile
+++ b/zte/vmanager/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:2-alpine
+FROM python:3.6-alpine
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
diff --git a/zte/vmanager/docker/docker-env-conf.sh b/zte/vmanager/docker/docker-env-conf.sh
index 6447fc9b..19cee170 100755
--- a/zte/vmanager/docker/docker-env-conf.sh
+++ b/zte/vmanager/docker/docker-env-conf.sh
@@ -4,7 +4,7 @@ install_sf(){
apk --no-cache update
apk --no-cache add bash curl gcc wget mysql-client openssl-dev
- apk --no-cache add python-dev libffi-dev musl-dev py2-virtualenv
+ apk --no-cache add python36-dev libffi-dev musl-dev py3-virtualenv
# get binary zip from nexus - vfc-nfvo-driver-vnfm-svnfm-zte-vmanager
wget -q -O vfc-nfvo-driver-vnfm-svnfm-zte-vmanager.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.vnfm.svnfm.zte.vmanager&a=vfc-nfvo-driver-vnfm-svnfm-zte-vmanager&v=${pkg_verison}-SNAPSHOT&e=zip" && \