Compare commits
7 Commits
work
...
b6072b0e51
Author | SHA1 | Date | |
---|---|---|---|
b6072b0e51 | |||
06da5ef71a | |||
3633dd4787 | |||
03cf5b67c2 | |||
ede0e223ec | |||
6848570758 | |||
056c0b545e |
13
Dockerfile
13
Dockerfile
@@ -1,8 +1,13 @@
|
|||||||
FROM debian:trixie-slim
|
FROM debian:bullseye-slim
|
||||||
#
|
#
|
||||||
COPY ookla_speedtest_cli.list requirements.txt init.sh /
|
RUN apt update && apt install curl -y
|
||||||
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 curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash
|
||||||
RUN apt update && apt install speedtest -y && apt clean
|
RUN apt install python3 python3-pip iputils-ping speedtest -y
|
||||||
COPY logspeedtest.py /usr/local/bin/
|
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 chmod +x /usr/local/bin/logspeedtest.py
|
||||||
|
RUN pip3 install -r /requirements.txt
|
||||||
|
RUN apt clean
|
||||||
CMD ["/init.sh"]
|
CMD ["/init.sh"]
|
@@ -1,5 +0,0 @@
|
|||||||
# this file was generated by packagecloud.io for #
|
|
||||||
# the repository at https://packagecloud.io/ookla/speedtest-cli
|
|
||||||
|
|
||||||
deb [signed-by=/etc/apt/keyrings/ookla_speedtest-cli-archive-keyring.gpg] https://packagecloud.io/ookla/speedtest-cli/debian/ bookworm main
|
|
||||||
deb-src [signed-by=/etc/apt/keyrings/ookla_speedtest-cli-archive-keyring.gpg] https://packagecloud.io/ookla/speedtest-cli/debian/ bookworm main
|
|
Reference in New Issue
Block a user