refs #5701 fix(db/dockerFile): fix docker-temp-stop
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
a8215e38f0
commit
33f2d556fd
|
@ -7,6 +7,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
|
||||
COPY docker/docker.cnf /etc/mysql/conf.d/
|
||||
COPY \
|
||||
docker/docker-start.sh \
|
||||
docker/docker-init.sh \
|
||||
docker/docker-temp-stop.sh \
|
||||
docker/docker-dump.sh \
|
||||
docker/docker-structure.sh \
|
||||
docker/docker-fixtures.sh \
|
||||
|
|
|
@ -12,5 +12,3 @@ docker_init_database_dir "$CMD"
|
|||
docker_temp_server_start "$CMD"
|
||||
docker_setup_db
|
||||
docker_process_init_files /docker-entrypoint-initdb.d/*
|
||||
echo $MARIADB_PID
|
||||
export MARIADB_PID
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /usr/local/bin/docker-entrypoint.sh
|
||||
CMD=mysqld
|
||||
|
||||
mysql_check_config "$CMD"
|
||||
docker_setup_env "$CMD"
|
||||
docker_create_db_directories
|
||||
|
||||
docker_verify_minimum_env
|
||||
docker_init_database_dir "$CMD"
|
||||
docker_temp_server_start "$CMD"
|
||||
docker_setup_db
|
||||
docker_process_init_files /docker-entrypoint-initdb.d/*
|
||||
. docker-init.sh
|
||||
docker-dump.sh structure
|
||||
docker-dump.sh mockDate
|
||||
docker-dump.sh dumpedFixtures
|
||||
docker_temp_server_stop
|
||||
. docker-temp-stop.sh
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /usr/local/bin/docker-entrypoint.sh
|
||||
CMD=mysqld
|
||||
|
||||
docker_setup_env "$CMD"
|
||||
docker_temp_server_stop
|
Loading…
Reference in New Issue