Moved starting services to inside dockerfile; side-benefit of faster startups

This commit is contained in:
WilliamMiceli
2019-11-23 00:06:40 -05:00
parent 6f1f9f63ac
commit 215d0322ff
3 changed files with 7 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
#!/bin/bash
service mysql start
# Perform the equivalent of running `mysql_secure_installation`
mysql -e "UPDATE mysql.user SET authentication_string=PASSWORD('Password1234') WHERE User='root';"