From 927c7c177670a812a4a4139281ef84e85b520645 Mon Sep 17 00:00:00 2001 From: jhh Date: Tue, 10 Dec 2019 15:38:12 -0600 Subject: changes to support offline pdpd control loops Issue-ID: POLICY-2191 Signed-off-by: jhh Change-Id: Ieb390de2f3324de2de8e6e54cdc10fbf5ede4070 --- .../packages/docker-controlloop/src/main/docker/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'controlloop/packages/docker-controlloop/src') 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"] -- cgit 1.2.3-korg