aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 08bb09f..282659d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -343,6 +343,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<configuration>
<imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName>
<baseImage>openjdk:8-jre</baseImage>
+ <user>inventory</user>
+ <runs>
+ <run>adduser --system --group inventory</run>
+ </runs>
<entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint>
<resources>
<resource>