1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 11:34:22 +00:00

Add final stage

This commit is contained in:
Steffo 2023-03-14 19:35:07 +01:00
parent 501e421357
commit 73cdf2ff42
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -1,5 +1,5 @@
# FROM archlinux:latest
FROM alpine:latest
FROM alpine:latest AS base
# Install duplicity
# RUN pacman --noconfirm -Syu duplicity python-pip python-pydrive2
@ -30,3 +30,6 @@ COPY ./backup.sh /etc/periodic/daily/backup.sh
# Configure duplicity
ENV DUPLICITY_FULL_IF_OLDER_THAN=1M
# Final!
FROM base AS final