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