From 49b130c5fee07da0fbe7f81cad6553c4bbb82061 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Wed, 8 Mar 2017 15:40:27 -0500 Subject: {feature}-installer.zip not copied to docker image 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 appc containers fails to load appc feature repos. The right Maven lifecycle phase for building docker should be "package" as this creates docker-build.tar. Also, note that file permissions change added to Dockerfile is redundant now that phase is corrected. Change-Id: I5565771de5de0593de1aad25f60e4001972712c2 Signed-off-by: Rashmi Pujar --- installation/appc/pom.xml | 2 +- installation/appc/src/main/docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installation/appc/pom.xml b/installation/appc/pom.xml index d12296c..5a0e552 100644 --- a/installation/appc/pom.xml +++ b/installation/appc/pom.xml @@ -210,7 +210,7 @@ generate-images - generate-sources + package build diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index 5a77060..8b2addf 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -4,8 +4,8 @@ MAINTAINER APP-C Team (appc@lists.openecomp.org) # copy openecomp COPY opt /opt + RUN ln -s /opt/openecomp/appc /opt/appc -RUN chmod +x /opt/openecomp/appc/bin/* # ENTRYPOINT exec /opt/opendaylight/current/bin/karaf EXPOSE 8181 -- cgit 1.2.3-korg