Fork of rclone/rclone
Wraps main entrypoint with optional sleep command ($SLEEP_TIME) to enable cron like behavior with restart policy
ARG VERSION
FROM rclone/rclone:$VERSION
WORKDIR /entry
COPY ./entry.sh /entry/entry.sh
RUN chmod +x /entry/entry.sh
ENTRYPOINT ["/bin/sh", "/entry/entry.sh"]
#!/bin/sh
set -e
rclone "$@"
if [ -z "${SLEEP_TIME}" ]; then
true
else
echo "Sleeping ${SLEEP_TIME}"
sleep $SLEEP_TIME
fi
Content type
Image
Digest
sha256:b41b77b84…
Size
18.7 MB
Last updated
over 3 years ago
docker pull eyadgaran/rclone:1.62.2