From 21e822781382c89f125b030c6fe96eea2a5ad087 Mon Sep 17 00:00:00 2001 From: yangyan Date: Sun, 8 Apr 2018 15:57:47 +0800 Subject: Fix docker build issue Issue-ID: VFC-859 Change-Id: I36793e83e1bdbc4ea30da6e2690dade3dff4f8a6 Signed-off-by: yangyan --- huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile | 2 +- nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile | 2 +- nokiav2/deployment/src/main/resources/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile b/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile index 4bdfebac..f516334e 100644 --- a/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile +++ b/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile @@ -37,7 +37,7 @@ ENV CATALINA_HOME /service # Set up microservice -RUN wget -q -O nfvo-driver-vnfm-huawei.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=staging&g=org.onap.vfc.nfvo.driver.vnfm.svnfm.huawei.vnfmadapter&a=hw-vnfmadapter-deployment&v=LATEST&e=zip" && unzip -q -o -B nfvo-driver-vnfm-huawei.zip && rm -f nfvo-driver-vnfm-huawei.zip +RUN wget -q -O nfvo-driver-vnfm-huawei.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.vnfm.svnfm.huawei.vnfmadapter&a=hw-vnfmadapter-deployment&v=LATEST&e=zip" && unzip -q -o -B nfvo-driver-vnfm-huawei.zip && rm -f nfvo-driver-vnfm-huawei.zip # Set permissions RUN find . -type d -exec chmod o-w {} \; RUN find . -name "*.sh" -exec chmod +x {} \; diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile index fa9c505b..7791fd84 100755 --- a/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile +++ b/nokia/vnfmdriver/vfcadaptorservice/docker/Dockerfile @@ -39,7 +39,7 @@ ENV CATALINA_HOME /service # Set up microservice -RUN wget -q -O nfvo-driver-vnfm-nokia.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=staging&g=org.onap.vfc.nfvo.driver.vnfm.svnfm&a=vfcadaptor-deployment&v=LATEST&e=zip" && unzip -q -o -B nfvo-driver-vnfm-nokia.zip && rm -f nfvo-driver-vnfm-nokia.zip +RUN wget -q -O nfvo-driver-vnfm-nokia.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.vnfm.svnfm&a=vfcadaptor-deployment&v=LATEST&e=zip" && unzip -q -o -B nfvo-driver-vnfm-nokia.zip && rm -f nfvo-driver-vnfm-nokia.zip # Set permissions RUN find . -type d -exec chmod o-w {} \; RUN find . -name "*.sh" -exec chmod +x {} \; diff --git a/nokiav2/deployment/src/main/resources/Dockerfile b/nokiav2/deployment/src/main/resources/Dockerfile index eb13714a..7509f55a 100755 --- a/nokiav2/deployment/src/main/resources/Dockerfile +++ b/nokiav2/deployment/src/main/resources/Dockerfile @@ -10,7 +10,7 @@ RUN yum -y update && \ yum -y install java-1.8.0-openjdk-headless wget && \ yum -y install mc vim tcpdump net-tools nc strace telnet unzip xmlstarlet && \ yum clean all -RUN wget -q -O driver.war "https://nexus.onap.org/service/local/artifact/maven/redirect?r=staging&g=org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2&a=driverwar&v=${VERSION}&e=war" +RUN wget -q -O driver.war "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2&a=driverwar&v=${VERSION}&e=war" #Can be used for local builds #COPY driver.war . ENV JAVA_HOME /usr/lib/jvm/jre -- cgit 1.2.3-korg