docker-borgbackup-cron (sha256:b4aa08e6514041869b5d7b4149f4877c6dfba161261b6ec2e2d63fdcb687f788)
Published 2026-04-13 08:31:56 +02:00 by adminuser
Installation
docker pull git.deditoolbox.fr/freesker/docker-borgbackup-cron@sha256:b4aa08e6514041869b5d7b4149f4877c6dfba161261b6ec2e2d63fdcb687f788sha256:b4aa08e6514041869b5d7b4149f4877c6dfba161261b6ec2e2d63fdcb687f788Image layers
| ADD file:d3a2f1f42338ba7066e352cea3b7bf4c7576e6b96fef785e8da763114f337c0e in / |
| CMD ["bash"] |
| RUN /bin/sh -c apt-get update && apt-get install -y openssh-client python3 python3-pip && apt-get clean # buildkit |
| ARG ANSIBLE_PIP_TAG=6.3.0 |
| RUN |1 ANSIBLE_PIP_TAG=6.3.0 /bin/sh -c pip3 install ansible==${ANSIBLE_PIP_TAG} # buildkit |
| ENV ANSIBLE_LOCALHOST_WARNING=False |
| RUN |1 ANSIBLE_PIP_TAG=6.3.0 /bin/sh -c mkdir /etc/ansible # buildkit |
| RUN |1 ANSIBLE_PIP_TAG=6.3.0 /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.git /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 # buildkit |
| RUN /bin/sh -c pip3 install 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.4.4/borg-linux-glibc231-x86_64 # buildkit |
| RUN /bin/sh -c mv borg-linux-glibc231-x86_64 /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-04-13 08:31:56 +02:00
Versions (4)
View all
Container
2
OCI / Docker
linux/amd64
629 MiB