Non Root user to access the log file 30/112130/1
authorLathish <lathishbabu.ganesan@est.tech>
Thu, 3 Sep 2020 18:06:23 +0000 (19:06 +0100)
committerLathish <lathishbabu.ganesan@est.tech>
Thu, 3 Sep 2020 18:10:56 +0000 (19:10 +0100)
Issue-ID: CCSDK-2622
Change-Id: Ie1963510c0ba61620ada23345a35ae430ca0bbf1
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
a1-policy-management/Dockerfile

index 1940ec5..86b0866 100644 (file)
@@ -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"]