wordpress/mariadb/Dockerfile

19 lines
346 B
Docker
Raw Normal View History

2020-05-21 12:49:20 +02:00
FROM registry.sindominio.net/debian
RUN apt-get update && \
apt-get -qy install mariadb-server &&\
apt-get clean
COPY 50-server.cnf /etc/mysql/mariadb.conf.d/50-server.cnf
2020-05-21 12:49:20 +02:00
VOLUME /var/lib/mysql
EXPOSE 3306
CMD ["/usr/bin/mysqld_safe"]
#CMD ["/usr/bin/mysqld_safe","--log-error=/tmp/mysql.error.log"]
#CMD ["/usr/bin/mysqld_safe"]
2020-05-21 12:49:20 +02:00