forked from shihaam/starlink_status
fix nodejs shit
This commit is contained in:
parent
ba85de05b3
commit
e11df5be77
@ -1,13 +1,23 @@
|
||||
FROM archlinux
|
||||
|
||||
WORKDIR /root
|
||||
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 \
|
||||
|
||||
# Basic
|
||||
RUN pacman -Sy --noconfirm mpv jq curl bc
|
||||
|
||||
# Ookla Speedtest
|
||||
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 . .
|
||||
|
||||
CMD ./bot.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user