A bunch of things
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
service mariadb start
|
||||
|
||||
chown -R mysql:mysql /run/mysql
|
||||
chown -R mysql:mysql /var/lib/mysql
|
||||
|
||||
/bin/sh /entrypoint/install-packages.sh
|
||||
|
||||
service mariadb start
|
||||
|
||||
# Run the CMD that was passed (or default)
|
||||
exec "$@"
|
||||
|
||||
|
3
mariadb-srv/project/entrypoint/install-packages.sh
Normal file
3
mariadb-srv/project/entrypoint/install-packages.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
apt-get update; apt-get full-upgrade -y; apt-get install mariadb-server mariadb-client -y
|
Reference in New Issue
Block a user