ptut-virtenv/docker/include/mariadb

4 lines
323 B
Plaintext
Raw Normal View History

2018-02-16 00:49:02 +00:00
RUN apk add mariadb mariadb-client \ /* 1. install mariadb */
&& mysql_install_db --user=mysql \ /* 2. install database */
&& sh -c 'mysqld_safe& sleep 1' \ /* 3. Start mysql for password changing */
&& mysqladmin -u root password 'root' /* 4. set arbitrary root password */