diff options
Diffstat (limited to 'prh-app-server/Dockerfile')
-rw-r--r-- | prh-app-server/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prh-app-server/Dockerfile b/prh-app-server/Dockerfile index a72ab448..22a9b468 100644 --- a/prh-app-server/Dockerfile +++ b/prh-app-server/Dockerfile @@ -1,12 +1,12 @@ -FROM openjdk:8-jre-alpine +FROM docker.io/openjdk:11-jre-slim LABEL copyright="Copyright (C) 2018-2019 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 adduser -h ${docker.user.dir} -D ${docker.user.name}; \ - chmod -R a+w /var/log +RUN useradd --user-group --uid ${docker.user.id} -d ${docker.user.dir} ${docker.user.name}; \ +chmod -R a+w /var/log USER ${docker.user.name} WORKDIR ${docker.user.dir} |