docker-mariadb-backup-slave/Dockerfile

13 lines
352 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:13:05 +00:00
RUN touch /etc/mysql/mariadb.conf.d/settings.cnf && 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