Skip to content

Commit

Permalink
feat: improve build step
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Jun 13, 2024
1 parent 7ed0ad2 commit 323da41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
mkdir -p /var/tmp /run/mysqld
mariadb-install-db --datadir=/var/lib/mariadb --user=root
/usr/bin/mariadbd --basedir=/usr --datadir=/var/lib/mariadb --plugin-dir=/usr/lib/mariadb/plugin --user=root &
sleep 2

until mariadb-admin ping; do sleep 1; done

mariadb-admin --user=root password 'root'
chown -R www-data:www-data /var/www/html /var/lib/mariadb/ /var/tmp /run/mysqld/

Expand Down

0 comments on commit 323da41

Please sign in to comment.