install rclone

pull/236/head
Stealth 2023-06-16 14:11:21 +02:00
parent c69ef51a04
commit db734b431c
2 changed files with 16 additions and 6 deletions

View File

@ -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

View File

@ -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