Allow fuse mount inside a docker container

This commit is contained in:
trenoduro 2023-03-06 11:46:21 +01:00 committed by GitHub
parent b3b7c8df95
commit 725d04bfc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ COPY . .
RUN go build RUN go build
FROM restic/restic:0.15.1 FROM restic/restic:0.15.1
RUN apk add --no-cache rclone bash RUN apk add --no-cache rclone bash fuse
COPY --from=builder /app/autorestic /usr/bin/autorestic COPY --from=builder /app/autorestic /usr/bin/autorestic
ENTRYPOINT [] ENTRYPOINT []
CMD [ "autorestic" ] CMD [ "autorestic" ]