diff options
author | hekeguang <hekeguang@chinamobile.com> | 2020-03-10 20:33:04 +0800 |
---|---|---|
committer | hekeguang <hekeguang@chinamobile.com> | 2020-03-10 20:33:45 +0800 |
commit | fb2de9c6846507e8ee8ea12d59d75212bfbd1271 (patch) | |
tree | e25dc433328ab275ebcb2f744bf9bd66ff722815 /standalone/src/main/assembly/Dockerfile | |
parent | aedfcf68e086e3ca13b108bc344821f15a0e3540 (diff) |
Modify the startup related scripts to support the no root startup of the container!2.0.2
Issue-ID: USECASEUI-402
Change-Id: I96ee14d885b16a32b5539b803537c08d568ac080
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'standalone/src/main/assembly/Dockerfile')
-rw-r--r-- | standalone/src/main/assembly/Dockerfile | 3 |
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 |