feat: restore to the image based on rclone
This commit is contained in:
+1
-19
@@ -1,22 +1,4 @@
|
||||
FROM rclone/rclone:1.65.1 AS provider
|
||||
|
||||
# To address the issue of dependencies in Alpine's edge version being required while rclone is not yet updated.
|
||||
# https://github.com/rclone/rclone/blob/master/Dockerfile
|
||||
FROM alpine:latest AS base
|
||||
|
||||
RUN apk --no-cache add ca-certificates fuse3 tzdata && \
|
||||
echo "user_allow_other" >> /etc/fuse.conf
|
||||
|
||||
COPY --from=provider /usr/local/bin/rclone /usr/local/bin/
|
||||
|
||||
RUN addgroup -g 1009 rclone && adduser -u 1009 -Ds /bin/sh -G rclone rclone
|
||||
|
||||
ENTRYPOINT [ "rclone" ]
|
||||
|
||||
WORKDIR /data
|
||||
ENV XDG_CONFIG_HOME=/config
|
||||
|
||||
FROM base
|
||||
FROM rclone/rclone:1.65.1
|
||||
|
||||
LABEL "repository"="https://github.com/ttionya/vaultwarden-backup" \
|
||||
"homepage"="https://github.com/ttionya/vaultwarden-backup" \
|
||||
|
||||
Reference in New Issue
Block a user