mirror of
https://github.com/luzifer-docker/mariadb-backup.git
synced 2024-11-09 23:30:02 +00:00
15 lines
283 B
Text
15 lines
283 B
Text
|
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"]
|