14 lines
358 B
Docker
Raw Normal View History

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