summaryrefslogtreecommitdiffstats
path: root/res/docker/docker-env-conf.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-05-10 17:56:31 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-05-10 17:56:42 +0800
commitc966a96efb7f305b75edfecfb3218d0c835abc1a (patch)
tree78b66efa81d84f3f1b7d0d01f2a10021b33b704b /res/docker/docker-env-conf.sh
parent3939c3632fc56974eded0c0642d2aee6a89a8307 (diff)
Add ARG and PKG_VERSION to Dockerfile
Change-Id: I4fad5e67c6e0cfe96bd28016367b378b3da66796 Issue-ID: VFC-1383 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'res/docker/docker-env-conf.sh')
-rwxr-xr-xres/docker/docker-env-conf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/docker/docker-env-conf.sh b/res/docker/docker-env-conf.sh
index 57c505e..5848339 100755
--- a/res/docker/docker-env-conf.sh
+++ b/res/docker/docker-env-conf.sh
@@ -7,8 +7,8 @@ install_sf(){
apk --no-cache add python-dev libffi-dev musl-dev py2-virtualenv
# get binary zip from nexus
- wget -q -O vfc-gvnfm-vnfres.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnfres.res&a=vfc-gvnfm-vnfres-res&v=LATEST&e=zip'
- unzip vfc-gvnfm-vnfres.zip
+ wget -q -O vfc-gvnfm-vnfres.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnfres.res&a=vfc-gvnfm-vnfres-res&v=${pkg_verison}-SNAPSHOT&e=zip' && \
+ unzip vfc-gvnfm-vnfres.zip && \
rm -rf vfc-gvnfm-vnfres.zip
wait
pip install --upgrade setuptools pip