aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server/src
diff options
context:
space:
mode:
authorTamasBakai <tamas.bakai@est.tech>2019-05-05 08:32:53 +0000
committerTamasBakai <tamas.bakai@est.tech>2019-05-05 08:32:53 +0000
commit8e3c45f80631938013e67863a167df00c57cd4f0 (patch)
tree24ebdb1455d936bdbbf710ab7eded4fa2a3c17d7 /datafile-app-server/src
parent7fcb32ce4495d15bbf068094610e2da0414ba7cd (diff)
Ownership fix in config directory
Change-Id: Iec3ca75c42642da27c52bccd6d60811c434f778a Issue-ID: DCAEGEN2-1466 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
Diffstat (limited to 'datafile-app-server/src')
-rw-r--r--datafile-app-server/src/main/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/datafile-app-server/src/main/docker/Dockerfile b/datafile-app-server/src/main/docker/Dockerfile
index f39f1cb5..6f62e65f 100644
--- a/datafile-app-server/src/main/docker/Dockerfile
+++ b/datafile-app-server/src/main/docker/Dockerfile
@@ -35,7 +35,7 @@ RUN addgroup -S onap && adduser -S datafile -G onap
RUN chown -R datafile:onap /opt/app/datafile
RUN chown -R datafile:onap /var/log/ONAP
RUN base64 -d /opt/app/datafile/config/dfc.jks.b64 > /opt/app/datafile/config/dfc.jks && base64 -d /opt/app/datafile/config/ftp.jks.b64 > /opt/app/datafile/config/ftp.jks
-RUN chown -R root:root /opt/app/datafile/config/*
+RUN chown -R datafile:onap /opt/app/datafile/config/*
RUN chmod -R 755 /opt/app/datafile/config/
USER datafile