summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/Dockerfile
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2020-03-10 12:56:07 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-10 12:56:07 +0000
commit3e83f2710cd06e28624dbe4246381c2c648030e8 (patch)
treeef62338429841099f82aeb69c6e899da0a603fd5 /standalone/src/main/assembly/Dockerfile
parent0c3903d9da8695364a4a564f9344707b66b28002 (diff)
parentfb2de9c6846507e8ee8ea12d59d75212bfbd1271 (diff)
Merge "Modify the startup related scripts to support the no root startup of the container!"
Diffstat (limited to 'standalone/src/main/assembly/Dockerfile')
-rw-r--r--standalone/src/main/assembly/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index 0f87b045..30878be3 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -49,4 +49,7 @@ RUN mkdir /home/uui
WORKDIR /home/uui
ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
+RUN bash /home/uui/bin/docker-env-config.sh
+USER postgres
+WORKDIR /home/uui
ENTRYPOINT /home/uui/bin/run.sh