starlink_status/.build/Dockerfile

14 lines
451 B
Docker

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
COPY . .
CMD ./bot.sh