diff options
author | Lathish <lathishbabu.ganesan@est.tech> | 2020-09-03 19:06:23 +0100 |
---|---|---|
committer | Lathish <lathishbabu.ganesan@est.tech> | 2020-09-03 19:10:56 +0100 |
commit | b166367cd8712f75fcf603f06e0e7ad6a060299f (patch) | |
tree | a603766eec52f43f0d6ea371a762320398e5522b /a1-policy-management | |
parent | cbe6e68610bb477d64d776df2fbf0eccece533eb (diff) |
Non Root user to access the log file
Issue-ID: CCSDK-2622
Change-Id: Ie1963510c0ba61620ada23345a35ae430ca0bbf1
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
Diffstat (limited to 'a1-policy-management')
-rw-r--r-- | a1-policy-management/Dockerfile | 2 |
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"] |