summaryrefslogtreecommitdiffstats
path: root/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'standalone')
-rw-r--r--standalone/src/main/assembly/Dockerfile2
-rw-r--r--standalone/src/main/assembly/bin/run.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index 1a5ed614..4d5cbe65 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -43,5 +43,5 @@ ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
#RUN chmod 755 /home/uui/bin/*.sh
-ENTRYPOINT /home/uui/resources/bin/initDB.sh root root 3306 127.0.0.1
+#ENTRYPOINT /home/uui/resources/bin/initDB.sh root root 3306 127.0.0.1
ENTRYPOINT /home/uui/bin/run.sh
diff --git a/standalone/src/main/assembly/bin/run.sh b/standalone/src/main/assembly/bin/run.sh
index cccbb8e1..9ef6e07a 100644
--- a/standalone/src/main/assembly/bin/run.sh
+++ b/standalone/src/main/assembly/bin/run.sh
@@ -23,6 +23,10 @@ echo "Starting mysql"
service mysql start
sleep 1
+SCRIPT="/home/uui/resources/bin/initDB.sh"
+chmod 755 "$SCRIPT"
+"$SCRIPT" root root 3306 127.0.0.1
+
echo @JAVA_HOME@ $JAVA_HOME
JAVA="$JAVA_HOME/bin/java"
echo @JAVA@ $JAVA