29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
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"]
|
Reference in New Issue
Block a user