add support for librespeed

This commit is contained in:
2023-11-12 12:30:55 +05:00
parent 73c61a98d6
commit 5f8f557cdb
2 changed files with 31 additions and 13 deletions

View File

@@ -1,8 +1,12 @@
FROM archlinux
WORKDIR /root
RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli bc npm \
&& npm install --global fast-cli
RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli bc npm nss \
&& npm install --global fast-cli \
&& curl -LOJ https://github.com/librespeed/speedtest-cli/releases/download/v1.0.10/librespeed-cli_1.0.10_linux_amd64.tar.gz \
&& tar -xzvf librespeed-cli_1.0.10_linux_amd64.tar.gz \
&& mv -v librespeed-cli /usr/bin/librespeed-cli \
&& rm -v librespeed-cli_1.0.10_linux_amd64.tar.gz LICENSE
COPY . .