1 2 3 4
FROM archlinux/base RUN pacman -Syu --noconfirm mariadb RUN mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql --auth-root-authentication-method=normal