From 6878ca9312b05400f9f1018e6e9250fa2458f0d4 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Wed, 8 Mar 2017 15:46:48 -0500 Subject: {feature}-installer.zip not copied to sdnc-img The "generate-sources" phase assigned to docker-maven-plugin occurs much earlier than phase of for building and staging *-installer zip files. This leads to image not having any of these zip, thus ODL inside sdnc containers fails to load sdnc feature repos. The right Maven lifecycle phase for building docker should be "package" as this creates docker-build.tar. Also, removed the redundant file permission change in Dockerfile Change-Id: If951e97dd9568343a577e64a8dd9452aaf74557d Signed-off-by: Rashmi Pujar Former-commit-id: 0aa8a5792b8e12f1423fcbe45742b3d6de330558 --- installation/sdnc/pom.xml | 2 +- installation/sdnc/src/main/docker/Dockerfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'installation') diff --git a/installation/sdnc/pom.xml b/installation/sdnc/pom.xml index 50b8cbea..90977fd3 100644 --- a/installation/sdnc/pom.xml +++ b/installation/sdnc/pom.xml @@ -55,7 +55,7 @@ generate-images - generate-sources + package build diff --git a/installation/sdnc/src/main/docker/Dockerfile b/installation/sdnc/src/main/docker/Dockerfile index f6edceeb..2e2140bc 100644 --- a/installation/sdnc/src/main/docker/Dockerfile +++ b/installation/sdnc/src/main/docker/Dockerfile @@ -15,7 +15,6 @@ COPY idmlight.db.mv.db /opt/opendaylight/current # copy openecomp COPY opt /opt RUN ln -s /opt/openecomp/sdnc /opt/sdnc -RUN chmod +x /opt/openecomp/sdnc/bin/* # workaround till we get proxy working COPY mysql.tgz /tmp -- cgit 1.2.3-korg