FROM ubuntu:16.04
MAINTAINER Douglas Duhaime <
[email protected]>
# config
ENV MYSQL_PASSWORD=womp
ENV MYSQL_ROOT=bwroot
ENV MYSQL_USER=bwuser
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get dist-upgrade -y && \
# store the mysql root password so the installer doesn't prompt for input
echo mysql-server mysql-server/root_password password $MYSQL_PASSWORD | debconf-set-selections && \
echo mysql-server mysql-server/root_password_again password $MYSQL_PASSWORD | debconf-set-selections && \