Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
52 lines
1.0 KiB
Docker
52 lines
1.0 KiB
Docker
FROM rockylinux/rockylinux:9
|
|
|
|
RUN dnf update -y && \
|
|
dnf install -y \
|
|
iputils \
|
|
iproute \
|
|
iperf3 \
|
|
net-tools \
|
|
procps-ng \
|
|
wget \
|
|
which \
|
|
vim \
|
|
jq \
|
|
createrepo_c \
|
|
golang \
|
|
python3-pip \
|
|
curl \
|
|
git \
|
|
tree \
|
|
htop \
|
|
tmux \
|
|
screen \
|
|
nano \
|
|
unzip \
|
|
tar \
|
|
gzip \
|
|
rsync \
|
|
nmap-ncat \
|
|
telnet \
|
|
bind-utils \
|
|
tcpdump \
|
|
strace \
|
|
lsof \
|
|
openssh-clients \
|
|
nodejs \
|
|
npm && \
|
|
dnf group install -y "Development Tools" && \
|
|
dnf clean all
|
|
|
|
RUN set -e && \
|
|
ARCH=$(uname -m) && \
|
|
case "$ARCH" in \
|
|
x86_64) YQ_ARCH="amd64" ;; \
|
|
aarch64) YQ_ARCH="arm64" ;; \
|
|
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
|
esac && \
|
|
wget "https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_${YQ_ARCH}" -O /usr/local/bin/yq && \
|
|
chmod +x /usr/local/bin/yq && \
|
|
echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \
|
|
echo "alias ls='ls --color=auto'" >> /root/.bashrc
|
|
|
|
CMD ["/bin/bash"] |