mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-04-04 12:18:50 +00:00
Copy rclone to final image
This commit is contained in:
committed by
Tobias Kaupat
parent
9469bbe7ba
commit
11513a9b20
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user