FROM alpine:3.19 ENV TZ=UTC LABEL maintainer="Vassiliy Yegorov " RUN apk add --no-cache \ sqlite \ wget \ bash \ tzdata \ openssl \ && rm -rf /var/cache/apk/* RUN wget https://github.com/rclone/rclone/releases/download/v1.71.0/rclone-v1.71.0-linux-amd64.zip && \ unzip rclone-v1.71.0-linux-amd64.zip && \ cd rclone-*-linux-amd64 && \ cp rclone /usr/bin/ && \ chown root:root /usr/bin/rclone && \ chmod 755 /usr/bin/rclone RUN export TZ=/usr/share/zoneinfo/${TZ} RUN mkdir -p scripts COPY scripts/ /scripts WORKDIR /scripts RUN chmod +x /scripts/* ENTRYPOINT ["/scripts/entrypoint.sh"]