forked from shihaam/starlink_status
fix nodejs shit
This commit is contained in:
parent
ba85de05b3
commit
e11df5be77
@ -1,12 +1,22 @@
|
|||||||
FROM archlinux
|
FROM archlinux
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli bc npm nss \
|
|
||||||
&& npm install --global fast-cli \
|
# Basic
|
||||||
&& curl -LOJ https://github.com/librespeed/speedtest-cli/releases/download/v1.0.10/librespeed-cli_1.0.10_linux_amd64.tar.gz \
|
RUN pacman -Sy --noconfirm mpv jq curl bc
|
||||||
&& tar -xzvf librespeed-cli_1.0.10_linux_amd64.tar.gz \
|
|
||||||
&& mv -v librespeed-cli /usr/bin/librespeed-cli \
|
# Ookla Speedtest
|
||||||
&& rm -v librespeed-cli_1.0.10_linux_amd64.tar.gz LICENSE
|
RUN pacman -Sy --noconfirm speedtest-cli
|
||||||
|
|
||||||
|
# LibreSpeed
|
||||||
|
RUN 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
|
||||||
|
|
||||||
|
# Fast
|
||||||
|
RUN pacman -S --noconfirm atk cups libxcomposite nodejs npm nss \
|
||||||
|
&& npm install --global fast-cli
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user