summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2023-02-17 19:06:17 +0000
committerGerrit Code Review <gerrit@onap.org>2023-02-17 19:06:17 +0000
commit19666e9596fc1df2c27496138e6688529d77cc60 (patch)
treec4aa33f2db0e02449e93f4150898d97b5338113c /packages
parenta5750bcdce833cd4a06ec4ec9bcd4ae395004143 (diff)
parent0e906cde3321ebb845901d16e81b56590b1e521d (diff)
Merge "Update Dockerfile for PF base image"
Diffstat (limited to 'packages')
-rw-r--r--packages/apex-pdp-docker/src/main/docker/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/apex-pdp-docker/src/main/docker/Dockerfile b/packages/apex-pdp-docker/src/main/docker/Dockerfile
index 487fb0620..c4bd4ad76 100644
--- a/packages/apex-pdp-docker/src/main/docker/Dockerfile
+++ b/packages/apex-pdp-docker/src/main/docker/Dockerfile
@@ -43,6 +43,7 @@ ENV POLICY_LOGS=$POLICY_LOGS
ENV APEX_HOME=$POLICY_HOME
ENV APEX_USER=policy
+USER root
RUN mkdir -p $POLICY_HOME $POLICY_LOGS && \
chown -R policy:policy $POLICY_HOME $POLICY_LOGS