1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-10-16 06:07:25 +00:00

Add missing sh files to image

This commit is contained in:
Steffo 2023-05-17 15:51:14 +02:00
parent d3c8292184
commit a2dac69741
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 6 additions and 3 deletions

View file

@ -80,6 +80,7 @@
<workItem from="1684324347198" duration="751000" />
<workItem from="1684325989651" duration="719000" />
<workItem from="1684326731845" duration="241000" />
<workItem from="1684331412572" duration="54000" />
</task>
<task id="LOCAL-00001" summary="Add proper python cryptography requirements">
<created>1684080793392</created>

View file

@ -13,6 +13,11 @@ RUN \
WORKDIR /var/lib/duplicity
ENV HOME="/var/lib/duplicity"
# Add entrypoint
COPY ./entrypoint.sh ./entrypoint.sh
COPY ./restore.sh ./restore.sh
COPY ./backup.sh /etc/periodic/daily/backup.sh
# Configure entrypoint and command
ENTRYPOINT ["./entrypoint.sh"]
CMD []
@ -24,9 +29,6 @@ LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
LABEL org.opencontainers.image.url="https://github.com/Steffo99/docker-backup-duplicity"
LABEL org.opencontainers.image.authors="Stefano Pigozzi <me@steffo.eu>"
# Add duplicity to cron
COPY ./backup.sh /etc/periodic/daily/backup.sh
# Configure duplicity
ENV DUPLICITY_FULL_IF_OLDER_THAN=1M