8 lines
293 B
Docker
8 lines
293 B
Docker
FROM debian:buster
|
|
|
|
RUN apt update && apt install -y mariadb-client mariadb-server
|
|
|
|
RUN mariadb --execute="create database db_hugo_test; create user 'u_hugo_test'@'localhost' identified by 'hello'; grant all privileges on *.* to 'u_hugo_test'@'localhost' with grant option;"
|
|
|
|
CMD [ "mysqld" ]
|