Lars Kellogg-Stedman a84fe3ce01 fix mariadb Dockerfile
- fix base image
- expose ports
- new mariadb packages log to /var/log/mariadb

Change-Id: I60adc956c82c352f91f718a3a2d5a4a86dd00293
2014-10-02 20:25:29 -04:00

14 lines
268 B
Docker

FROM kollaglue/fedora-rdo-base
MAINTAINER Lars Kellogg-Stedman <lars@redhat.com>
RUN yum -y install mariadb-galera-server
ADD /entrypoint.sh /entrypoint.sh
VOLUME /var/lib/mysql
VOLUME /var/log/mariadb
EXPOSE 3306
ENTRYPOINT ["/entrypoint.sh"]
CMD ["mysqld_safe"]