From 5a41037c1c6085febf8d5d9a41f055c9bca3f0d1 Mon Sep 17 00:00:00 2001 From: Piotr Darosz Date: Wed, 3 Oct 2018 14:31:25 +0200 Subject: Unify DMaaP Data Router image creation Fix POMs, docker-compose file, use docker plugin, remove Dockerfiles Change-Id: I26c017eceedd30e66841d3a933070112b79ebca1 Issue-ID: DMAAP-836 Signed-off-by: Piotr Darosz --- datarouter-node/pom.xml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'datarouter-node/pom.xml') diff --git a/datarouter-node/pom.xml b/datarouter-node/pom.xml index 29e3ce47..27d21c05 100755 --- a/datarouter-node/pom.xml +++ b/datarouter-node/pom.xml @@ -3,6 +3,7 @@ * org.onap.dmaap * =========================================================================== * Copyright © 2017 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2018 Nokia. All rights reserved. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +26,7 @@ org.onap.dmaap.datarouter parent - 1.0.2-SNAPSHOT + 1.0.3-SNAPSHOT ../pom.xml datarouter-node @@ -234,10 +235,10 @@ com.spotify docker-maven-plugin - 1.0.0 + ${docker.maven.plugin.version} ${onap.nexus.dockerregistry.daily}/${datarouter.node.image.name} - ${docker.location} + java:8 ${onap.nexus.dockerregistry.daily} false @@ -245,22 +246,25 @@ latest true + ["/startup.sh", "start"] - / - ${project.basedir} - - target/**/* - pom.xml - + /opt + ${project.build.directory}/opt - / - ${project.build.directory} - **/** + ${docker.location} + startup.sh + + chmod 0700 /startup.sh + + + 8080 + 8443 + -- cgit 1.2.3-korg