mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 03:48:27 +08:00
build: fix custom timezone in Docker image
Added the tzdata package to fix this ref. See: https://forum.rclone.org/t/rclone-in-docker-uses-tz-as-utc-not-as-provided/17173
This commit is contained in:
parent
945a37d0d2
commit
298bd640f3
|
@ -11,7 +11,7 @@ RUN ./rclone version
|
||||||
# Begin final image
|
# Begin final image
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk --no-cache add ca-certificates fuse && \
|
RUN apk --no-cache add ca-certificates fuse tzdata && \
|
||||||
echo "user_allow_other" >> /etc/fuse.conf
|
echo "user_allow_other" >> /etc/fuse.conf
|
||||||
|
|
||||||
COPY --from=builder /go/src/github.com/rclone/rclone/rclone /usr/local/bin/
|
COPY --from=builder /go/src/github.com/rclone/rclone/rclone /usr/local/bin/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user