aboutsummaryrefslogtreecommitdiffstats
path: root/standalone
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2017-09-26 11:05:31 +0800
committerLuji7 <lu.ji3@zte.com.cn>2017-09-26 11:05:36 +0800
commitfe6a23e857b466b9b99c547f659b7d4fffca5bce (patch)
tree2ca15e9c84f4cc046b11c35faa2ec6a7ea44a10d /standalone
parent2998c821e00e8bf1db8bbbef04c798fe346563c8 (diff)
add db scripts
Change-Id: Id34a1479a0de78478fc54d197ad720e2300a1041 Issue-Id: USECASEUI-36 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'standalone')
-rw-r--r--standalone/src/main/assembly/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index 4f39f410..e156bb94 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -36,6 +36,11 @@ ENV JRE_HOME ${JAVA_HOME}/jre
RUN mkdir /home/uui
WORKDIR /home/uui
ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
+
+#init db
+RUN chmod 755 /home/uui/resources/bin/*.sh
+RUN /home/uui/resources/bin/initDB.sh
+
RUN chmod 755 /home/uui/bin/*.sh
ENTRYPOINT /home/uui/bin/run.sh