Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 564 Bytes
FROM centos:centos7
MAINTAINER Leonel Baer <leonel@lysender.com>
RUN yum -y update && yum clean all
RUN yum -y install epel-release && yum clean all
RUN yum -y install mariadb-server bind-utils pwgen supervisor psmisc \
net-tools hostname && yum clean all
ADD ./start.sh /start.sh
ADD ./config_mariadb.sh /config_mariadb.sh
ADD ./supervisor-mariadb.ini /etc/supervisord.d/mariadb.ini
RUN chmod 755 /start.sh
RUN chmod 755 /config_mariadb.sh
RUN /config_mariadb.sh
VOLUME ["/var/lib/mysql", "/var/log/mariadb"]
EXPOSE 3306
CMD ["/bin/bash", "/start.sh"]
You can’t perform that action at this time.