From e11df5be776ddce8eb9d70a005d02833b0255ca0 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 12 Nov 2023 14:28:49 +0500 Subject: [PATCH] fix nodejs shit --- .build/Dockerfile | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.build/Dockerfile b/.build/Dockerfile index 1775308..b608ebf 100644 --- a/.build/Dockerfile +++ b/.build/Dockerfile @@ -1,12 +1,22 @@ 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 \ - && 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 + +# 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 . .