From 73cdf2ff4267777dccc5609d5e0ba7bef2a8dd83 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 14 Mar 2023 19:35:07 +0100 Subject: [PATCH] Add `final` stage --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 63f1116..6345081 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file