aboutsummaryrefslogtreecommitdiffstats
path: root/autoBackup/Dockerfile
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-08-05 01:20:51 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-08-05 01:20:51 +0100
commit43a8f15b873de8269eff6fa84b0ec3f96eb81f23 (patch)
treec76b42ff7f1b250f1404a8bb526cc737fe0259f9 /autoBackup/Dockerfile
parentc1f8c9af440c91739c3b9b36ffb20ca444f78a62 (diff)
parentff64c2c2954b4533221160316cbb2a1005752303 (diff)
downloadBetterZFSReplication-43a8f15b873de8269eff6fa84b0ec3f96eb81f23.tar.gz
BetterZFSReplication-43a8f15b873de8269eff6fa84b0ec3f96eb81f23.zip
Merge branch 'master' of github.com:jwansek/BetterZFSReplication
Diffstat (limited to 'autoBackup/Dockerfile')
-rw-r--r--autoBackup/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/autoBackup/Dockerfile b/autoBackup/Dockerfile
index edcaf84..018ad55 100644
--- a/autoBackup/Dockerfile
+++ b/autoBackup/Dockerfile
@@ -1,8 +1,9 @@
-FROM ubuntu:20.04
+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
+RUN apt-get install -y python3-pip iputils-ping cron git
+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
RUN pip3 install -r requirements.txt