aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ms/neng/src/main/docker/Dockerfile')
-rw-r--r--ms/neng/src/main/docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ms/neng/src/main/docker/Dockerfile b/ms/neng/src/main/docker/Dockerfile
index e7dc93b3..6f42eaec 100644
--- a/ms/neng/src/main/docker/Dockerfile
+++ b/ms/neng/src/main/docker/Dockerfile
@@ -31,6 +31,11 @@ VOLUME /opt/etc
ADD opt/etc/ /opt/etc/
#ADD /opt/aai/ /opt/aai/
ADD startService.sh /startService.sh
+RUN addgroup -S ccsdk && adduser -S ccsdk -G ccsdk
+RUN chown ccsdk:ccsdk /startService.sh
+RUN chown -R ccsdk:ccsdk /opt
+RUN chmod go+w /tmp
RUN chmod 700 /startService.sh
+USER ccsdk
ENTRYPOINT bash /startService.sh
EXPOSE 8080