summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-09-04 13:10:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-04 13:10:09 +0000
commitac04a96b53689a8228ad160f86cfcc7088e0b167 (patch)
tree6ae0f7878b08c173f3a6bfe8020661f1f3c02182
parent7788a0b2ef5ca1dbdad19cc2f39245c4a91ec066 (diff)
parentb166367cd8712f75fcf603f06e0e7ad6a060299f (diff)
Merge "Non Root user to access the log file"
-rw-r--r--a1-policy-management/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/a1-policy-management/Dockerfile b/a1-policy-management/Dockerfile
index 1940ec5e..86b08663 100644
--- a/a1-policy-management/Dockerfile
+++ b/a1-policy-management/Dockerfile
@@ -50,5 +50,5 @@ RUN chmod -R 777 /opt/app/policy-agent/data/
USER a1pms
ADD target/${JAR} /opt/app/policy-agent/a1-policy-management-service.jar
-
+CMD chown -R a1pms /var
CMD ["java", "-jar", "/opt/app/policy-agent/a1-policy-management-service.jar"]