From d9deb8e8d24e101f2869bed9b02445e16bf390da Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Fri, 4 Mar 2022 10:15:34 +0100 Subject: [PATCH] adjusted sleep before try to use mysql socket, due slow runners --- extras/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/docker/Dockerfile b/extras/docker/Dockerfile index 2fba10b005..fbe8b38107 100644 --- a/extras/docker/Dockerfile +++ b/extras/docker/Dockerfile @@ -27,7 +27,7 @@ RUN rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql && \ chown mysql. -R /var/lib/mysql && \ sudo -u mysql mysqld --initialize --explicit_defaults_for_timestamp && \ sudo -u mysql mysqld --daemonize & \ - sleep 15 && \ + sleep 50 && \ mysql_default_pass=$(cat /var/log/mysqld.log | grep "temporary password" | awk '{print $NF}') && \ mysqladmin -u root -p"$mysql_default_pass" --user=root password 'pandora' && \ httpd -k start && \