move to installing via the ookla method
Some checks failed
/ Plan (push) Failing after 15s

This commit is contained in:
Dan Hamik 2024-11-26 13:29:04 -06:00
parent 7948c548e3
commit 192fc55105

View File

@ -1,8 +1,9 @@
FROM debian:bullseye-slim
#
COPY ookla_speedtest_cli.list /
RUN cat /ookla_speedtest_cli.list >> /etc/apt/sources.list
RUN apt update && apt install python3 python3-pip iputils-ping speedtest -y
RUN apt update && apt install curl
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 logspeedtest.py /usr/local/bin/
COPY requirements.txt /
COPY init.sh /