| ADD alpine-minirootfs-3.19.8-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV TZ=UTC |
| LABEL maintainer=Vassiliy Yegorov <vasyakrg@gmail.com> |
| RUN /bin/sh -c apk add --no-cache sqlite wget bash tzdata openssl && rm -rf /var/cache/apk/* # buildkit |
| RUN /bin/sh -c 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 # buildkit |
| RUN /bin/sh -c export TZ=/usr/share/zoneinfo/${TZ} # buildkit |
| RUN /bin/sh -c mkdir -p scripts # buildkit |
| COPY scripts/ /scripts # buildkit |
| WORKDIR /scripts |
| RUN /bin/sh -c chmod +x /scripts/* # buildkit |
| ENTRYPOINT ["/scripts/entrypoint.sh"] |