Commit 9225adaa authored by kalvin's avatar kalvin

不初始化数据

parent 63a33a67
...@@ -9,7 +9,7 @@ COPY my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf ...@@ -9,7 +9,7 @@ COPY my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
COPY mysqld_charset.cnf /etc/mysql/conf.d/mysqld_charset.cnf COPY mysqld_charset.cnf /etc/mysql/conf.d/mysqld_charset.cnf
#把要执行的shell文件放到/docker-entrypoint-initdb.d/目录下,容器会自动执行这个shell #把要执行的shell文件放到/docker-entrypoint-initdb.d/目录下,容器会自动执行这个shell
COPY ./init_db_data.sh $AUTO_RUN_DIR/ # COPY ./init_db_data.sh $AUTO_RUN_DIR/
#给执行文件增加可执行权限 #给执行文件增加可执行权限
RUN chmod a+x $AUTO_RUN_DIR/init_db_data.sh RUN chmod a+x $AUTO_RUN_DIR/init_db_data.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment