diff options
author | Michael Hwang <mhwang@research.att.com> | 2019-07-16 10:31:51 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2019-07-18 00:25:39 -0400 |
commit | 7b82b5302f6319f7192c96aebdaaf16bfa1024d7 (patch) | |
tree | d11b95a74edeef44f3ad067374e0269f5b8d2df1 /pom.xml | |
parent | e8e64c41b1da24273ab4568fcbe4c2f4683c53f3 (diff) |
Change base image to alpine based5.0.0-ONAP
Change-Id: If201abe897c49f9dda93ccad8f57f0679604dcc7
Issue-ID: DCAEGEN2-1565
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ <?xml version="1.0"?> <!-- ================================================================================ -Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. +Copyright (c) 2017-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. @@ -29,7 +29,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <groupId>org.onap.dcaegen2.platform</groupId> <artifactId>inventory-api</artifactId> - <version>3.3.0-SNAPSHOT</version> + <version>3.4.0-SNAPSHOT</version> <name>dcaegen2-platform-inventory-api</name> <!--internal <version>3.0.0</version>--> @@ -342,10 +342,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <version>1.0.0</version> <configuration> <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName> - <baseImage>openjdk:8-jre</baseImage> + <baseImage>openjdk:8-jre-alpine</baseImage> <user>inventory</user> <runs> - <run>adduser --system --group inventory</run> + <run>addgroup -S inventory</run> + <run>adduser -S -G inventory inventory</run> </runs> <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint> <resources> |