summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-07-03 15:17:30 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-07-03 15:48:46 +0800
commit8470eb9f5845d55a3bec9351b1982f61a2fdd319 (patch)
tree569e39d02ac87900867f49e28aafa0cff5cc52f3 /gvnfmadapter/docker
parent21c2a798f6adca51eb2881e1a84ca1d10967d4e8 (diff)
Update python2 to python3
Change-Id: Icb5a35dd320ccbf80c66089977550755810c859f Issue-ID: VFC-1429 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'gvnfmadapter/docker')
-rw-r--r--gvnfmadapter/docker/Dockerfile2
-rwxr-xr-xgvnfmadapter/docker/docker-env-conf.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gvnfmadapter/docker/Dockerfile b/gvnfmadapter/docker/Dockerfile
index 2b99d44..86bde96 100644
--- a/gvnfmadapter/docker/Dockerfile
+++ b/gvnfmadapter/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/gvnfmadapter/docker/docker-env-conf.sh b/gvnfmadapter/docker/docker-env-conf.sh
index 2cf7956..1edcd7e 100755
--- a/gvnfmadapter/docker/docker-env-conf.sh
+++ b/gvnfmadapter/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-catalog
wget -q -O vfc-nfvo-driver-vnfm-gvnfm-gvnfmadapter.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.vnfm.gvnfm.gvnfmadapter&a=vfc-nfvo-driver-vnfm-gvnfm-gvnfmadapter&v=${pkg_version}-SNAPSHOT&e=zip" && \