summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.md1
-rw-r--r--pom.xml7
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index a30eb8a..71de2fc 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## []
* Add non-root user in Docker image so that the inventory service can be run in non-privileged mode for security reasons DCAEGEN2-1555
+* Change base image to alpine based DCAEGEN2-1566
## [1.1.3]
diff --git a/pom.xml b/pom.xml
index ab0a2e3..82975c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
================================================================================
-Copyright (c) 2016-2018 AT&T Intellectual Property. All rights reserved.
+Copyright (c) 2016-2019 AT&T Intellectual Property. 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.
@@ -221,10 +221,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
- <baseImage>java:8-jre</baseImage>
+ <baseImage>openjdk:8-jre-alpine</baseImage>
<user>sch</user>
<runs>
- <run>adduser --system --group sch</run>
+ <run>addgroup -S sch</run>
+ <run>adduser -S -G sch sch</run>
</runs>
<!-- NOTE: Couldn't figure out how to package the jar to be named: ${project.build.finalName}. This might be
because of the clojure maven plugin -->