docker-borgbackup-cron (sha256:d91d54fe9b9d731ab1d1a4ebc689ae1280c198acababbbb7115fb05ec0d59adb)
Published 2026-10-27 00:39:11 +01:00 by adminuser
Installation
docker pull git.deditoolbox.fr/freesker/docker-borgbackup-cron@sha256:d91d54fe9b9d731ab1d1a4ebc689ae1280c198acababbbb7115fb05ec0d59adbsha256:d91d54fe9b9d731ab1d1a4ebc689ae1280c198acababbbb7115fb05ec0d59adbImage layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1792531975' |
| RUN /bin/sh -c apt-get update && apt-get install -y ansible openssh-client python3 && apt-get clean # buildkit |
| ENV ANSIBLE_LOCALHOST_WARNING=False |
| RUN /bin/sh -c mkdir -p /etc/ansible # buildkit |
| RUN /bin/sh -c touch /etc/ansible/hosts # buildkit |
| CMD ["ansible-playbook" "--version"] |
| RUN /bin/sh -c apt-get --allow-releaseinfo-change update && apt-get install -y git # buildkit |
| RUN /bin/sh -c git clone https://git.deditoolbox.fr/freesker/ansible-playbook-smtp-email.git /var/smtp-email-playbook # buildkit |
| RUN /bin/sh -c git clone https://git.deditoolbox.fr/freesker/ansible-playbook-mysql-dump.git /var/mysql-dump-playbook # buildkit |
| RUN /bin/sh -c git clone https://git.deditoolbox.fr/freesker/ansible-playbook-postgresql-dump /var/postgresql-dump-playbook # buildkit |
| RUN /bin/sh -c git clone https://git.deditoolbox.fr/freesker/ansible-playbook-mongo-dump.git /var/mongo-dump-playbook # buildkit |
| RUN /bin/sh -c git clone https://git.deditoolbox.fr/freesker/ansible-playbook-borg-backup.git /var/borg-backup-playbook # buildkit |
| RUN /bin/sh -c apt-get install -y python3 python3-dev python3-pip python3-virtualenv libacl1-dev libacl1 libssl-dev liblz4-dev libzstd-dev libxxhash-dev build-essential pkg-config python3-pkgconfig wget curl # buildkit |
| RUN /bin/sh -c apt-get install -y mariadb-client python3-apt python3-pymysql # buildkit |
| RUN /bin/sh -c apt-get install -y cron # buildkit |
| RUN /bin/sh -c apt-get clean # buildkit |
| RUN /bin/sh -c wget https://github.com/borgbackup/borg/releases/download/1.2.7/borg-linux64 # buildkit |
| RUN /bin/sh -c mv borg-linux64 /usr/local/bin/borg # buildkit |
| RUN /bin/sh -c chown root:root /usr/local/bin/borg # buildkit |
| RUN /bin/sh -c chmod 755 /usr/local/bin/borg # buildkit |
| RUN /bin/sh -c curl -fsSL https://get.docker.com -o get-docker.sh # buildkit |
| RUN /bin/sh -c bash get-docker.sh # buildkit |
| RUN /bin/sh -c rm get-docker.sh # buildkit |
| COPY backup_script.sh /var/backup_script.sh # buildkit |
| RUN /bin/sh -c chmod +x /var/backup_script.sh # buildkit |
| COPY alive_msg.sh /var/alive_msg.sh # buildkit |
| RUN /bin/sh -c chmod +x /var/alive_msg.sh # buildkit |
| COPY borgbackup_cron /etc/cron.d/borgbackup_cron # buildkit |
| RUN /bin/sh -c chmod +x /etc/cron.d/borgbackup_cron # buildkit |
| RUN /bin/sh -c crontab /etc/cron.d/borgbackup_cron # buildkit |
| RUN /bin/sh -c ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime # buildkit |
| COPY entrypoint.sh /var/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /var/entrypoint.sh # buildkit |
| ENTRYPOINT ["/var/entrypoint.sh"] |
| CMD ["cron" "-f"] |
Details
2026-10-27 00:39:11 +01:00
Versions (4)
View all
Container
0
OCI / Docker
linux/amd64
613 MiB