Skip to content

Commit

Permalink
feat: restore to the image based on rclone
Browse files Browse the repository at this point in the history
  • Loading branch information
ttionya committed Jan 10, 2024
1 parent 27fb56c commit bb08f7d
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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" \
Expand Down

0 comments on commit bb08f7d

Please sign in to comment.