fix nodejs shit

This commit is contained in:
Shihaam Abdul Rahman 2023-11-12 14:28:49 +05:00
parent ba85de05b3
commit e11df5be77
Signed by untrusted user: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -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 . .