From ce1c4c36dd30b1a5d87ff8667eebdf3da767b9ea Mon Sep 17 00:00:00 2001 From: Dan Hamik Date: Mon, 18 Aug 2025 15:03:38 -0500 Subject: [PATCH] updating to trixie and flattening image --- Dockerfile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbf7018..320af51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,8 @@ -FROM debian:bullseye-slim +FROM debian:trixie-slim # -COPY ookla_speedtest_cli.list / -RUN apt update && apt install curl -y -RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash -RUN apt install python3 python3-pip iputils-ping speedtest -y +COPY ookla_speedtest_cli.list requirements.txt init.sh / +RUN apt update && apt install curl python3 python3-pip iputils-ping -y && pip3 install -r /requirements.txt --break-system-packages && chmod +x /init.sh && curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash +RUN apt update && apt install speedtest -y && apt clean COPY logspeedtest.py /usr/local/bin/ -COPY requirements.txt / -COPY init.sh / -RUN chmod +x /init.sh RUN chmod +x /usr/local/bin/logspeedtest.py -RUN pip3 install -r /requirements.txt -RUN apt clean CMD ["/init.sh"] \ No newline at end of file