summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/Dockerfile
diff options
context:
space:
mode:
authorPatrikBuhr <patrik.buhr@est.tech>2021-03-26 17:25:13 +0100
committerPatrikBuhr <patrik.buhr@est.tech>2021-04-07 16:40:01 +0200
commit97a9001fe632b0eaed48d324dc8d6c2c3c630f8c (patch)
tree1631f3e7a496af8818f0bcca07ef85b04e8bb7be /a1-policy-management/Dockerfile
parent7a052f6652ffc9965f3c0d2cdc8b7385d1029f3f (diff)
PMS Persistent storage of policies and type definitions - A1 Istanbul
Policy types and type definitions are stored persistently to survive a restart of PMS. Change-Id: Ideae4dae5b6f9de2b82127e65ce5184d615c8fd4 Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Diffstat (limited to 'a1-policy-management/Dockerfile')
-rw-r--r--a1-policy-management/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/a1-policy-management/Dockerfile b/a1-policy-management/Dockerfile
index 52ba3fd7..7c732c14 100644
--- a/a1-policy-management/Dockerfile
+++ b/a1-policy-management/Dockerfile
@@ -35,6 +35,9 @@ ARG JAR
WORKDIR /opt/app/policy-agent
RUN mkdir -p /var/log/policy-agent
RUN mkdir -p /opt/app/policy-agent/etc/cert/
+RUN mkdir -p /var/policy-management-service
+RUN chmod -R 777 /var/policy-management-service
+
RUN groupadd -r onap && useradd -ms /bin/bash a1pms -g onap
RUN chown -R a1pms:onap /var/log/policy-agent