aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
Diffstat (limited to 'prh-app-server')
-rw-r--r--prh-app-server/Dockerfile7
-rw-r--r--prh-app-server/pom.xml3
2 files changed, 6 insertions, 4 deletions
diff --git a/prh-app-server/Dockerfile b/prh-app-server/Dockerfile
index d92dae8f..fb762ec3 100644
--- a/prh-app-server/Dockerfile
+++ b/prh-app-server/Dockerfile
@@ -1,12 +1,13 @@
-FROM docker.io/openjdk:11-jre-slim
+FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0
LABEL copyright="Copyright (C) 2018-2020 NOKIA" \
license.name="The Apache Software License, Version 2.0" \
license.url="http://www.apache.org/licenses/LICENSE-2.0" \
maintainer="Nokia Wroclaw ONAP Team"
-RUN useradd --user-group --uid ${docker.user.id} -d ${docker.user.dir} ${docker.user.name}; \
-chmod -R a+w /var/log
+USER root
+RUN adduser --disabled-password --uid ${docker.user.id} --home ${docker.user.dir} ${docker.user.name} && \
+ chmod -R a+w /var/log
USER ${docker.user.name}
WORKDIR ${docker.user.dir}
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index 2589c86e..9173ed39 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -4,6 +4,7 @@
~ PNF-REGISTRATION-HANDLER
~ ================================================================================
~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
+ ~ Copyright (C) 2021 Samsung Electronics. 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.
@@ -26,7 +27,7 @@
<parent>
<groupId>org.onap.dcaegen2.services</groupId>
<artifactId>prh</artifactId>
- <version>1.5.6-SNAPSHOT</version>
+ <version>1.6.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.dcaegen2.services.prh</groupId>