starlink_status/.build/Dockerfile

30 lines
672 B
Docker
Raw Normal View History

2023-11-12 00:18:50 +05:00
FROM archlinux
WORKDIR /root
2023-11-12 14:28:49 +05:00
2023-12-30 10:32:47 +05:00
# update all
RUN pacman -Syu --noconfirm
2023-11-12 14:28:49 +05:00
# Basic
2023-12-30 10:32:47 +05:00
RUN pacman -S --noconfirm mpv jq curl bc
2023-11-12 14:28:49 +05:00
# Ookla Speedtest
2023-12-30 10:32:47 +05:00
RUN pacman -S --noconfirm speedtest-cli
2023-11-12 14:28:49 +05:00
# 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
2023-11-12 00:18:50 +05:00
# Image Magic
RUN pacman -S --noconfirm imagemagick
2023-11-12 00:18:50 +05:00
COPY . .
CMD ./bot.sh