From a2dac69741c4ce76f1a8ff738c721cae82c0f4dc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 17 May 2023 15:51:14 +0200 Subject: [PATCH] Add missing sh files to image --- .idea/workspace.xml | 1 + Dockerfile | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7d383f8..d301b5f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -80,6 +80,7 @@ + 1684080793392 diff --git a/Dockerfile b/Dockerfile index caaf89a..f755975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " -# Add duplicity to cron -COPY ./backup.sh /etc/periodic/daily/backup.sh - # Configure duplicity ENV DUPLICITY_FULL_IF_OLDER_THAN=1M