summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-14 09:59:36 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-14 09:59:41 +0800
commit48b32d5095057df6d77a846fc24dc37a781f54a6 (patch)
treecb9118e3dcbc5d1fb1010513f28b7ea616765646
parentcb5654fe263079ed7ffb908620fd7cfde3a74e58 (diff)
fix the bug of vnfmgr DockerFile
Change-Id: I6390f397af4fcaa6366d3123ac671526626f1605 Issue-ID: VFC-1386 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rw-r--r--mgr/docker/Dockerfile2
-rwxr-xr-xmgr/docker/docker-env-conf.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/mgr/docker/Dockerfile b/mgr/docker/Dockerfile
index fa69214..79c698d 100644
--- a/mgr/docker/Dockerfile
+++ b/mgr/docker/Dockerfile
@@ -5,7 +5,7 @@ ARG HTTPS_PROXY=${HTTPS_PROXY}
ARG PKG_VERSION
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
-ENV pkg_verison=${PKG_VERSION}
+ENV pkg_version=${PKG_VERSION}
ADD . /service
WORKDIR /service
diff --git a/mgr/docker/docker-env-conf.sh b/mgr/docker/docker-env-conf.sh
index ff0b55e..3bb7c5f 100755
--- a/mgr/docker/docker-env-conf.sh
+++ b/mgr/docker/docker-env-conf.sh
@@ -7,7 +7,7 @@ install_sf(){
apk --no-cache add python-dev libffi-dev musl-dev py2-virtualenv
# get binary zip from nexus
- wget -q -O vfc-gvnfm-vnfmgr.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnfmgr.mgr&a=vfc-gvnfm-vnfmgr-mgr&v=${pkg_verison}-SNAPSHOT&e=zip' && \
+ wget -q -O vfc-gvnfm-vnfmgr.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnfmgr.mgr&a=vfc-gvnfm-vnfmgr-mgr&v=${pkg_version}-SNAPSHOT&e=zip" && \
unzip vfc-gvnfm-vnfmgr.zip && \
rm -rf vfc-gvnfm-vnfmgr.zip
wait