summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-14 09:42:05 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-14 09:42:48 +0800
commit1a939a9f432f66c8dc9189806e418d5f4de9d873 (patch)
tree0edb8b7033a97ee0515797e2440ebe16f71d313e /lcm
parent75fa91342abe1056a802c5a8272670ded30618d9 (diff)
fix bug of docker file
Change-Id: I4048d7190eb06eb7d465a2ca6e2084eb629261c9 Issue-ID: VFC-1386 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'lcm')
-rwxr-xr-xlcm/docker/Dockerfile2
-rwxr-xr-xlcm/docker/docker-env-conf.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile
index ad49eeff..1507070e 100755
--- a/lcm/docker/Dockerfile
+++ b/lcm/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/lcm/docker/docker-env-conf.sh b/lcm/docker/docker-env-conf.sh
index d11c6721..b9389420 100755
--- a/lcm/docker/docker-env-conf.sh
+++ b/lcm/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 - vfc-nfvo-catalog
- wget -q -O vfc-gvnfm-vnflcm-lcm.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnflcm.lcm&a=vfc-gvnfm-vnflcm-lcm&v=${pkg_verison}-SNAPSHOT&e=zip' && \
+ wget -q -O vfc-gvnfm-vnflcm-lcm.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnflcm.lcm&a=vfc-gvnfm-vnflcm-lcm&v=${pkg_version}-SNAPSHOT&e=zip" && \
unzip vfc-gvnfm-vnflcm-lcm.zip && \
rm -rf vfc-gvnfm-vnflcm-lcm.zip
wait