From abf6e1719ac0ddbbe0e86e82de6db47d3d744b2e Mon Sep 17 00:00:00 2001 From: Huabing Zhao Date: Wed, 17 Jul 2019 12:48:09 +0800 Subject: JJB migration Issue-ID: CIMAN-266 Signed-off-by: Huabing Zhao Change-Id: Ic4cb23a8217400065098dccebe74ee5a73d42ec8 --- distributions/msb-apigateway/pom.xml | 84 ++++++++++++++++++++-- .../msb-apigateway/src/main/docker/Dockerfile | 2 +- 2 files changed, 78 insertions(+), 8 deletions(-) (limited to 'distributions/msb-apigateway') diff --git a/distributions/msb-apigateway/pom.xml b/distributions/msb-apigateway/pom.xml index 2a9f2fe..4204658 100644 --- a/distributions/msb-apigateway/pom.xml +++ b/distributions/msb-apigateway/pom.xml @@ -14,7 +14,10 @@ msb-apigateway - target/version + ${project.basedir}/target/version + onap/msb/msb_apigateway + ${project.version}-${timestamp} + ${project.version}-latest @@ -179,13 +182,80 @@ - - - + + + + + docker + + + + io.fabric8 + docker-maven-plugin + 0.19.1 + + + com.github.jnr + jnr-unixsocket + 0.13 + + + + true + 1.23 + nexus3.onap.org:10003 + + + ${docker.image.name} + docker_msb_apigateway + + true + + ${docker.tag} + ${docker.latest.tag} + + ${version.output} + + + + + + + + clean-images + pre-clean + + remove + + + true + docker_msb_apigateway + + + + generate-images + package + + build + + + + push-images + deploy + + push + + + ${docker.image.name} + + + + + - - - + \ No newline at end of file diff --git a/distributions/msb-apigateway/src/main/docker/Dockerfile b/distributions/msb-apigateway/src/main/docker/Dockerfile index 35de11e..424bdbb 100644 --- a/distributions/msb-apigateway/src/main/docker/Dockerfile +++ b/distributions/msb-apigateway/src/main/docker/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile - msb-apigateway -FROM nexus3.onap.org:10003/onap/msb/msb_base:latest +FROM nexus3.onap.org:10001/onap/msb/msb_base:latest COPY msb-apigateway*.tar.gz /usr/src RUN tar -xzf /usr/src/msb-apigateway*.tar.gz -C /usr/local --strip-components=1; \ -- cgit 1.2.3-korg