summaryrefslogtreecommitdiffstats
path: root/ms/neng
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-02-24 11:22:32 -0500
committerDan Timoney <dtimoney@att.com>2021-02-24 11:22:32 -0500
commit177eccda5ad8ba491e1ef6d337ca7a06bd5ff533 (patch)
treedd36fa3572a0e5c9c6eee2caa5960a194a3ff928 /ms/neng
parentf8e7ad3f47e0f686c0a1bd1127362b2d09978f65 (diff)
Use latest base image version
Update ccsdk/apps containers to use latest version of base CCSDK alpine image Change-Id: I76c435ee939a21640c8d73f75644059497da3084 Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/neng')
-rw-r--r--ms/neng/pom.xml2
-rw-r--r--ms/neng/src/main/docker/Dockerfile3
2 files changed, 4 insertions, 1 deletions
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index 2488be60..73cf3453 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -47,6 +47,8 @@
<docker.push.phase>deploy</docker.push.phase>
<docker.verbose>true</docker.verbose>
<ccsdk.project.version>${project.version}</ccsdk.project.version>
+ <base.image.name>onap/ccsdk-alpine-j11-image</base.image.name>
+ <base.image.version>1.1.1</base.image.version>
<image.name>onap/ccsdk-apps-ms-neng</image.name>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
diff --git a/ms/neng/src/main/docker/Dockerfile b/ms/neng/src/main/docker/Dockerfile
index 6f42eaec..ec161d3f 100644
--- a/ms/neng/src/main/docker/Dockerfile
+++ b/ms/neng/src/main/docker/Dockerfile
@@ -20,7 +20,8 @@
# Docker setup for the micro-service
#================================================================================
#FROM onap/ccsdk-ubuntu-image:0.3.0-SNAPSHOT
-FROM anapsix/alpine-java:8_jdk
+FROM @base.image.name@:@base.image.version@
+USER root
RUN apk add --no-cache curl