diff options
author | Pamela Dragosh <pd1248@att.com> | 2023-02-17 15:22:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-02-17 15:22:56 +0000 |
commit | 622bae2bfbd5128670159ecbe8fcd9e92cceaaab (patch) | |
tree | 5224882cdf711880bc2f355d7153247441bdbc2e | |
parent | dba0c77a975fb6ac6552b2a41a193284c4e2eb3e (diff) | |
parent | d5bb05941f17680ef7dfc509608aee4809bb2cb7 (diff) |
Merge "Update Dockerfile for PF base image"
-rw-r--r-- | packages/policy-pap-docker/src/main/docker/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-pap-docker/src/main/docker/Dockerfile b/packages/policy-pap-docker/src/main/docker/Dockerfile index b8d4fdeb..fb06d67f 100644 --- a/packages/policy-pap-docker/src/main/docker/Dockerfile +++ b/packages/policy-pap-docker/src/main/docker/Dockerfile @@ -3,7 +3,7 @@ # ============LICENSE_START======================================================= # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. # Modifications Copyright (C) 2021 Bell Canada. All rights reserved. -# Modifications Copyright (C) 2022 Nordix Foundation. +# Modifications Copyright (C) 2022-2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,6 +43,7 @@ ARG POLICY_LOGS=/var/log/onap/policy/pap ENV POLICY_LOGS=$POLICY_LOGS ENV POLICY_HOME=$POLICY_HOME/pap +USER root RUN mkdir -p $POLICY_HOME $POLICY_LOGS && \ chown -R policy:policy $POLICY_HOME $POLICY_LOGS |