docker-mariadb-backup-slave/Dockerfile
paspo fb3f4fcd56
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
fix config file ownership
2019-11-23 19:13:05 +01:00

11 lines
308 B
Docker

FROM mariadb:10
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -q -y cron automysqlbackup
RUN touch /etc/mysql/mariadb.conf.d/settings.cnf && chown mysql /etc/mysql/mariadb.conf.d/settings.cnf
COPY docker-entrypoint.sh /usr/local/bin/
COPY automysqlbackup /etc/default
#HEALTHCHECK