diff options
Diffstat (limited to 'mod/runtimeapi/runtime-web/pom.xml')
-rw-r--r-- | mod/runtimeapi/runtime-web/pom.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/runtimeapi/runtime-web/pom.xml b/mod/runtimeapi/runtime-web/pom.xml index 722c36a..c8ce84a 100644 --- a/mod/runtimeapi/runtime-web/pom.xml +++ b/mod/runtimeapi/runtime-web/pom.xml @@ -3,6 +3,8 @@ ============LICENSE_START======================================================= Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved. ================================================================================ +Modifications Copyright (c) 2020 Nokia +================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -22,10 +24,10 @@ limitations under the License. <parent> <groupId>org.onap.dcaegen2.platform.mod</groupId> <artifactId>runtimeapi</artifactId> - <version>1.0.1</version> + <version>1.0.2</version> </parent> <artifactId>runtime-web</artifactId> - <version>1.0.4-SNAPSHOT</version> + <version>1.0.6-SNAPSHOT</version> <packaging>jar</packaging> <name>runtime-web</name> <description>MOD Runtime Web Module</description> @@ -109,7 +111,7 @@ limitations under the License. <name>onap/${project.groupId}.${project.artifactId}</name> <registry>${onap.nexus.dockerregistry.daily}</registry> <build> - <from>openjdk:8-jre-alpine</from> + <from>openjdk:11-jre-slim</from> <tags> <tag>latest</tag> <tag>${project.version}</tag> @@ -119,7 +121,7 @@ limitations under the License. <descriptorRef>artifact</descriptorRef> </assembly> <runCmds> - <runCmd>addgroup -g 1000 dcaemod && adduser -s /bin/bash -u 1000 -G dcaemod -D dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data</runCmd> + <runCmd>groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data</runCmd> </runCmds> <workdir>/maven</workdir> <volumes> |