Skip to content

Commit

Permalink
Move to latest install instructions for speedtest cli
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed Sep 3, 2021
1 parent 7aa62fb commit e6abf67
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM ubuntu:bionic
FROM python:slim

RUN echo 'UTC' > /etc/localtime && apt update && apt install -y gnupg1 apt-transport-https dirmngr lsb-core python3-pip
ENV INSTALL_KEY=379CE192D401AB61
RUN export DEB_DISTRO=$(lsb_release -sc) ; apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY
RUN export DEB_DISTRO=$(lsb_release -sc) ; echo "deb https://ookla.bintray.com/debian ${DEB_DISTRO} main" > /etc/apt/sources.list.d/speedtest.list && apt update && apt install -y speedtest
RUN echo 'UTC' > /etc/localtime && apt update && apt install -y curl python3-pip
RUN curl -s https://install.speedtest.net/app/cli/install.deb.sh | bash
RUN apt-get install speedtest
RUN mkdir /speedtest_wrapper
COPY README.md setup.py speedtest_wrapper.py /speedtest_wrapper/
RUN pip3 --no-cache-dir install /speedtest_wrapper
Expand Down

0 comments on commit e6abf67

Please sign in to comment.