install rclone
parent
c69ef51a04
commit
db734b431c
18
Dockerfile
18
Dockerfile
|
@ -1,14 +1,16 @@
|
||||||
# docker run -d -p 8000:8000 alseambusher/crontab-ui
|
# docker run -d -p 8000:8000 stealthizer/crontab-ui
|
||||||
FROM alpine:3.15.3
|
FROM alpine:3.15.3
|
||||||
|
|
||||||
ENV CRON_PATH /etc/crontabs
|
ENV CRON_PATH /etc/crontabs
|
||||||
|
ENV RCLONE_VERSION=current
|
||||||
|
ENV ARCH=amd64
|
||||||
|
|
||||||
RUN mkdir /crontab-ui; touch $CRON_PATH/root; chmod +x $CRON_PATH/root
|
RUN mkdir /crontab-ui; touch $CRON_PATH/root; chmod +x $CRON_PATH/root
|
||||||
|
|
||||||
WORKDIR /crontab-ui
|
WORKDIR /crontab-ui
|
||||||
|
|
||||||
LABEL maintainer "@alseambusher"
|
LABEL maintainer "@stealthizer"
|
||||||
LABEL description "Crontab-UI docker"
|
LABEL description "Crontab-UI docker with rclone"
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
wget \
|
wget \
|
||||||
|
@ -16,7 +18,15 @@ RUN apk --no-cache add \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
supervisor \
|
supervisor \
|
||||||
tzdata
|
tzdata \
|
||||||
|
&& cd /tmp \
|
||||||
|
&& wget -q http://downloads.rclone.org/rclone-${RCLONE_VERSION}-linux-${ARCH}.zip \
|
||||||
|
&& unzip /tmp/rclone-${RCLONE_VERSION}-linux-${ARCH}.zip \
|
||||||
|
&& mv /tmp/rclone-*-linux-${ARCH}/rclone /usr/bin \
|
||||||
|
&& rm -r /tmp/rclone* \
|
||||||
|
&& addgroup rclone \
|
||||||
|
&& adduser -h /config -s /bin/ash -G rclone -D rclone
|
||||||
|
|
||||||
|
|
||||||
COPY supervisord.conf /etc/supervisord.conf
|
COPY supervisord.conf /etc/supervisord.conf
|
||||||
COPY . /crontab-ui
|
COPY . /crontab-ui
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '3.7'
|
||||||
services:
|
services:
|
||||||
crontab-ui:
|
crontab-ui:
|
||||||
build: .
|
build: .
|
||||||
image: alseambusher/crontab-ui
|
image: stealthizer/crontab-ui
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
|
|
Loading…
Reference in New Issue