docker_images/backups/rsyncvolumes/Dockerfile
Fabien BOURGEOIS 9b3d10a27e Revert "[FIX]Odoobackup overlayFS problem with tail"
This reverts commit 3bcfeb7add3111c2b6c5ebb56c038ca4a323a1ca.
2017-11-21 10:28:07 +01:00

20 lines
446 B
Docker

FROM debian:jessie
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
ENV SOURCE /var/lib/docker/volumes
ENV DEST /var/backups/
RUN apt-get update && apt-get install --no-install-recommends -y \
cron gettext-base rsync python-minimal libpython-stdlib
COPY crontab /etc/crontab
RUN chmod 644 /etc/crontab
RUN touch /var/log/cron.log
WORKDIR /opt/backup
COPY rsync.template .
COPY plan.tpl.py .
COPY launch.sh .
CMD bash launch.sh