mirror of
https://github.com/luzifer-docker/mariadb-backup.git
synced 2024-12-20 02:11:16 +00:00
14 lines
284 B
Docker
14 lines
284 B
Docker
FROM mariadb:10.11
|
|
|
|
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"]
|