docker-borgbackup-cron (sha256:14ed48897f0ab3fed114f909c5ffeb8ca5cf05f4120a727d9091833032418d40)

Published 2024-04-01 10:42:16 +02:00 by adminuser

Installation

docker pull git.deditoolbox.fr/freesker/docker-borgbackup-cron@sha256:14ed48897f0ab3fed114f909c5ffeb8ca5cf05f4120a727d9091833032418d40
sha256:14ed48897f0ab3fed114f909c5ffeb8ca5cf05f4120a727d9091833032418d40

Image 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-postgresql-dump /var/postgresql-dump-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 curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg # buildkit
RUN /bin/sh -c sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list' # buildkit
RUN /bin/sh -c apt update && apt-get install -y postgresql-client # buildkit
RUN /bin/sh -c apt-get install -y cron # buildkit
RUN /bin/sh -c apt-get clean # 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 backup_cron /etc/cron.d/backup_cron # buildkit
RUN /bin/sh -c chmod +x /etc/cron.d/backup_cron # buildkit
RUN /bin/sh -c crontab /etc/cron.d/backup_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
Container
2024-04-01 10:42:16 +02:00
7
OCI / Docker
linux/amd64
384 MiB
Versions (4) View all
nextcloud 2026-04-13
matrix-bridge 2024-04-01
matrix 2024-04-01
latest 2023-03-18