aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/packages/docker-controlloop/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main/docker/Dockerfile')
-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"]