Copy rclone to final image

This commit is contained in:
Max Stabel
2019-09-30 09:38:01 +02:00
committed by Tobias Kaupat
parent 9469bbe7ba
commit 11513a9b20

View File

@@ -1,4 +1,4 @@
FROM alpine as rclone
FROM alpine:latest as rclone
# Get rclone executable
ADD https://downloads.rclone.org/rclone-current-linux-amd64.zip /
@@ -9,6 +9,8 @@ FROM restic/restic:latest
# install mailx
RUN apk add --update --no-cache heirloom-mailx
COPY --from=rclone /bin/rclone /bin/rclone
RUN \
mkdir -p /mnt/restic /var/spool/cron/crontabs /var/log; \
touch /var/log/cron.log;