diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2025-09-10 17:30:26 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2025-09-10 17:30:26 +0100 |
commit | 9eff75419705ba5a621064da3e102496b51a5766 (patch) | |
tree | bc827f5091e849774491ce8a00586c0c2353ba19 /autoBackup | |
parent | 471ab1f35aaf9651926431198bc59f3b73a1b7df (diff) | |
download | BetterZFSReplication-9eff75419705ba5a621064da3e102496b51a5766.tar.gz BetterZFSReplication-9eff75419705ba5a621064da3e102496b51a5766.zip |
Diffstat (limited to 'autoBackup')
-rw-r--r-- | autoBackup/Dockerfile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/autoBackup/Dockerfile b/autoBackup/Dockerfile index 018ad55..15a144d 100644 --- a/autoBackup/Dockerfile +++ b/autoBackup/Dockerfile @@ -1,8 +1,6 @@ -FROM ubuntu:22.04 -ENV TZ=Europe/London -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -RUN apt-get update -y -RUN apt-get install -y python3-pip iputils-ping cron git +FROM reg.reaweb.uk/cron +# https://github.com/jwansek/cron/ + RUN git clone https://github.com/monitorjbl/api_client.git /api_client && cd /api_client && python3 setup.py install && rm -rf /api_client COPY . /app WORKDIR /app @@ -12,4 +10,4 @@ RUN pip3 install -r TasmotaCLI/requirements.txt RUN echo "0 21 * * sat,wed root python3 /app/autoBackup.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab RUN echo "@monthly root python3 /app/autoScrub.py > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab ENTRYPOINT ["bash"] -CMD ["entrypoint.sh"]
\ No newline at end of file +CMD ["entrypoint.sh"] |