From e3d4d77dbb77b2fbe6a61446586940235ec5b4d7 Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 6 May 2021 16:58:22 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E8=B0=83=E6=95=B4=20kuboard=20k8s=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/kuboard/Dockerfile | 8 -------- script/kuboard/saber-db/Dockerfile | 8 ++++++++ script/kuboard/{ => saber-db}/my.cnf | 0 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 script/kuboard/Dockerfile create mode 100644 script/kuboard/saber-db/Dockerfile rename script/kuboard/{ => saber-db}/my.cnf (100%) diff --git a/script/kuboard/Dockerfile b/script/kuboard/Dockerfile deleted file mode 100644 index 54f463b1..00000000 --- a/script/kuboard/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM mysql:5.7.26 -ADD my.cnf /etc/mysql/conf.d/my.cnf -COPY ../../doc/sql/blade/blade-saber-mysql.sql /docker-entrypoint-initdb.d/blade-saber-mysql.sql -# COPY ../../doc/sql/blade/blade-sword-mysql.sql /docker-entrypoint-initdb.d/blade-sword-mysql.sql -# COPY ../../doc/sql/seata/seata_order.sql /docker-entrypoint-initdb.d/seata_order.sql -# COPY ../../doc/sql/seata/seata_storage.sql /docker-entrypoint-initdb.d/seata_storage.sql -# COPY ../../doc/sql/seata/seata.sql /docker-entrypoint-initdb.d/seata.sql -EXPOSE 3306 diff --git a/script/kuboard/saber-db/Dockerfile b/script/kuboard/saber-db/Dockerfile new file mode 100644 index 00000000..58e2b4d3 --- /dev/null +++ b/script/kuboard/saber-db/Dockerfile @@ -0,0 +1,8 @@ +FROM mysql:5.7.26 +ADD my.cnf /etc/mysql/conf.d/my.cnf +COPY ../../../doc/sql/blade/blade-saber-mysql.sql /docker-entrypoint-initdb.d/blade-saber-mysql.sql +# COPY ../../../doc/sql/blade/blade-sword-mysql.sql /docker-entrypoint-initdb.d/blade-sword-mysql.sql +# COPY ../../../doc/sql/seata/seata_order.sql /docker-entrypoint-initdb.d/seata_order.sql +# COPY ../../../doc/sql/seata/seata_storage.sql /docker-entrypoint-initdb.d/seata_storage.sql +# COPY ../../../doc/sql/seata/seata.sql /docker-entrypoint-initdb.d/seata.sql +EXPOSE 3306 diff --git a/script/kuboard/my.cnf b/script/kuboard/saber-db/my.cnf similarity index 100% rename from script/kuboard/my.cnf rename to script/kuboard/saber-db/my.cnf