docker-mariadb-backup-slave/Dockerfile

14 lines
358 B
Docker
Raw Normal View History

2019-11-23 18:00:26 +00:00
FROM mariadb:10
2019-11-24 09:50:11 +00:00
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -q -y cron sudo automysqlbackup
2019-11-23 18:00:26 +00:00
2019-11-24 10:15:26 +00:00
COPY mysql.cnf /etc/mysql/mariadb.conf.d/settings.cnf
RUN chown mysql /etc/mysql/mariadb.conf.d/settings.cnf
2019-11-23 18:00:26 +00:00
COPY docker-entrypoint.sh /usr/local/bin/
COPY automysqlbackup /etc/default
2019-11-24 09:50:11 +00:00
COPY sudoers /etc/sudoers.d/mysudoers
2019-11-23 18:00:26 +00:00
#HEALTHCHECK