mariadb-backup/Dockerfile
Knut Ahlers 427e25f811
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-20 12:29:55 +01:00

15 lines
283 B
Docker

FROM mariadb:10.2
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends percona-toolkit \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
COPY backup.sh /usr/local/bin/
VOLUME ["/data"]
ENTRYPOINT ["/bin/bash"]
CMD ["/usr/local/bin/backup.sh"]