refactor: update Dockerfile base image to Rocky Linux and remove obsolete workflow

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
Stephen Simpson
2025-04-29 11:21:28 -07:00
parent 2a0066441b
commit df80a13fa0
2 changed files with 31 additions and 28 deletions

View File

@@ -1,20 +1,17 @@
FROM alpine:latest
FROM rockylinux:9
RUN apk add --no-cache wget ca-certificates tar
RUN dnf update -y && \
dnf install -y \
iputils \
iproute \
iperf3 \
net-tools \
procps-ng \
wget \
which \
vim \
python3-pip && \
dnf group install -y "Development Tools" && \
dnf clean all
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "amd64" ]; then \
ARCH="x86_64"; \
elif [ "$TARGETARCH" = "arm64" ]; then \
ARCH="aarch64"; \
fi && \
wget -q https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-${ARCH}.tgz && \
tar -xzf ookla-speedtest-1.2.0-linux-${ARCH}.tgz -C /usr/bin && \
rm ookla-speedtest-1.2.0-linux-${ARCH}.tgz && \
chmod +x /usr/bin/speedtest
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]