From 758bc233c125d2ffec0bf16618747af747aafa45 Mon Sep 17 00:00:00 2001 From: BT2983 Date: Tue, 18 Sep 2018 09:27:18 -0600 Subject: naming ms - docker updates. Added exec phase, and using lighter docker base image. Change-Id: I020c6e88408f4d17fe214ee7ac8f960230ad4980 Issue-ID: CCSDK-342 Signed-off-by: BT2983 --- ms/neng/pom.xml | 11 +++++++++++ ms/neng/src/main/docker/Dockerfile | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'ms/neng') diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml index bcc5d0cd..610d7ed6 100644 --- a/ms/neng/pom.xml +++ b/ms/neng/pom.xml @@ -56,6 +56,7 @@ 0.2.4 ${https_proxy} deploy + deploy true ${project.version} @@ -121,6 +122,16 @@ com.spotify docker-maven-plugin 0.4.11 + + + push-images + ${docker.build.phase} + + build + push + + + ${docker.registry}/onap/ccsdk-apps-ms-neng:${project.version} src/main/docker diff --git a/ms/neng/src/main/docker/Dockerfile b/ms/neng/src/main/docker/Dockerfile index e8594e5f..6225f35d 100644 --- a/ms/neng/src/main/docker/Dockerfile +++ b/ms/neng/src/main/docker/Dockerfile @@ -19,7 +19,11 @@ #================================================================================ # Docker setup for the micro-service #================================================================================ -FROM onap/ccsdk-ubuntu-image:0.3.0-SNAPSHOT +#FROM onap/ccsdk-ubuntu-image:0.3.0-SNAPSHOT +FROM anapsix/alpine-java:8_jdk + +RUN apk add --no-cache curl + VOLUME /tmp ADD NetworkElementNameGen.jar app.jar VOLUME /opt/etc -- cgit 1.2.3-korg