Public Repository

Last pushed: 2 years ago
Short Description
testing purpose
Full Description

FROM debian:stable
COPY byteland/vagrant/puppet/data/byteland.dev.sql /mnt/
COPY files/query.sh /mnt/
RUN apt-get update \
&& apt-get install python-software-properties -y \
&& apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 199369E5404BD5FC7D2FE43BCBCB082A1BB943DB \
&& add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/debian wheezy main' \
&& apt-get update \
&& apt-get install mariadb-server -y \
&& sed -ri 's/^(bind-address|skip-networking)/;\1/' /etc/mysql/my.cnf \
&& service mysql start \
&& chmod u+x /mnt/query.sh \
&& /bin/bash /mnt/query.sh \
&& mysql byteland < /mnt/byteland.dev.sql
EXPOSE 3306
CMD ["mysqld"]

Docker Pull Command
Owner
enmuro

Comments (0)