30 lines
599 B
Docker
30 lines
599 B
Docker
FROM alpine:latest
|
|
|
|
ENV TZ=UTC
|
|
LABEL maintainer="Vassiliy Yegorov <vasyakrg@gmail.com>"
|
|
|
|
RUN apk add --no-cache \
|
|
sqlite \
|
|
curl \
|
|
bash \
|
|
tzdata \
|
|
openssl
|
|
|
|
RUN curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip && \
|
|
unzip rclone-current-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"]
|