refs #5701 fix(db/dockerFile): fix docker-temp-stop
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-06-12 07:33:45 +02:00
parent a8215e38f0
commit 33f2d556fd
4 changed files with 12 additions and 15 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,7 @@
#!/bin/bash
. /usr/local/bin/docker-entrypoint.sh
CMD=mysqld
docker_setup_env "$CMD"
docker_temp_server_stop