summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-12-10 15:38:12 -0600
committerjhh <jorge.hernandez-herrero@att.com>2019-12-10 15:42:20 -0600
commit927c7c177670a812a4a4139281ef84e85b520645 (patch)
treef2a572d769bd7b1e795cdf59a21b8b65132c6f20
parentd6c2e62df1e4a3beca1b8d1e8dc64f0ac48a6d0a (diff)
changes to support offline pdpd control loops
Issue-ID: POLICY-2191 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ieb390de2f3324de2de8e6e54cdc10fbf5ede4070
-rw-r--r--controlloop/packages/docker-controlloop/src/main/docker/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile b/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
index 49d036a16..14e8c7400 100644
--- a/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
+++ b/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
@@ -19,16 +19,18 @@ RUN unzip apps-controlloop.zip && \
COPY /maven/docker-entrypoint.sh $POLICY_HOME/bin/
RUN . $POLICY_HOME/etc/profile.d/env.sh && \
- mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \
- --settings=$POLICY_HOME/etc/m2/standalone-settings.xml \
- -DartifactId=feature-controlloop-management \
- -DgroupId=org.onap.policy.drools-applications.controlloop.common -Dversion=$BUILD_VERSION_APP_CL && \
$POLICY_HOME/bin/features install healthcheck distributed-locking lifecycle && \
$POLICY_HOME/bin/features install controlloop-utils controlloop-trans controlloop-management && \
$POLICY_HOME/bin/features install controlloop-amsterdam controlloop-usecases && \
$POLICY_HOME/bin/features enable healthcheck distributed-locking lifecycle && \
$POLICY_HOME/bin/features enable controlloop-trans controlloop-management && \
$POLICY_HOME/bin/features enable controlloop-amsterdam controlloop-usecases && \
+ $POLICY_HOME/bin/deploy-artifact -l -d -s $POLICY_HOME/etc/m2/standalone-settings.xml \
+ -a $POLICY_HOME/features/controlloop-management/lib/feature/feature-controlloop-management-$BUILD_VERSION_APP_CL.jar && \
+ $POLICY_HOME/bin/deploy-artifact -l -d -s $POLICY_HOME/etc/m2/standalone-settings.xml \
+ -a $POLICY_HOME/features/controlloop-usecases/artifacts/controller-usecases-$BUILD_VERSION_APP_CL.jar && \
+ find $HOME/.m2/ -name _maven.repositories -exec rm -v {} \; && \
+ find $HOME/.m2/ -name _remote.repositories -exec rm -v {} \; && \
rm $POLICY_INSTALL/*.zip $POLICY_INSTALL/*.gz 2> /dev/null
ENTRYPOINT ["/opt/app/policy/bin/docker-entrypoint.sh"]