Built a docker file that builds Gaseous with MariaDB built in

This commit is contained in:
Michael Green
2024-06-25 19:19:45 +10:00
parent 3897ed65ef
commit f0020e5b1f
4 changed files with 106 additions and 2 deletions

9
build/mariadb.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Wait for the service to start
while ! mysqladmin ping -h localhost --silent; do
sleep 1
done
# Set the root password
mariadb -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '$MARIADB_ROOT_PASSWORD';"