aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-07-27 01:17:23 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-07-27 01:17:23 +0100
commit75da4576bf77a94046e397f79f7b3d4651d1633c (patch)
tree52d3617b7a274c8b0f0ac6ed1b8fe3a3db989858
parentca27a067f7cd64eef710e49400e67323b065c3d3 (diff)
downloadBetterZFSReplication-75da4576bf77a94046e397f79f7b3d4651d1633c.tar.gz
BetterZFSReplication-75da4576bf77a94046e397f79f7b3d4651d1633c.zip
Added missing python dependency to 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