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 <rashmi.pujar@bell.ca>
<executions>
<execution>
<id>generate-images</id>
- <phase>generate-sources</phase>
+ <phase>package</phase>
<goals>
<goal>build</goal>
</goals>
# 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