mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Dockerfile fixes
- ref: https://forum.rclone.org/t/run-docker-container-in-userspace/11734/7 - enable userspace operation - enable Docker userspace mount exposed to the host - add more Docker image usage documentation
This commit is contained in:
committed by
Nick Craig-Wood
parent
8fe87c8157
commit
070a8bfcd8
@@ -12,10 +12,11 @@ RUN ./rclone version
|
||||
# Begin final image
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
RUN apk --no-cache add ca-certificates fuse
|
||||
|
||||
WORKDIR /root/
|
||||
COPY --from=builder /go/src/github.com/rclone/rclone/rclone /usr/local/bin/
|
||||
|
||||
COPY --from=builder /go/src/github.com/rclone/rclone/rclone .
|
||||
ENTRYPOINT [ "rclone" ]
|
||||
|
||||
ENTRYPOINT [ "./rclone" ]
|
||||
WORKDIR /data
|
||||
ENV XDG_CONFIG_HOME=/config
|
||||
|
||||
Reference in New Issue
Block a user