diff options
-rw-r--r-- | ChangeLog.md | 1 | ||||
-rw-r--r-- | pom.xml | 7 |
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] @@ -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 --> |