forked from shihaam/starlink_status
27 lines
632 B
Docker
27 lines
632 B
Docker
FROM archlinux
|
|
|
|
WORKDIR /root
|
|
|
|
# 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
|
|
|
|
# Image Magic
|
|
RUN pacman -S --noconfirm imagemagick
|
|
|
|
COPY . .
|
|
|
|
CMD ./bot.sh
|