Files
rocky-dev-container/Dockerfile
admin 15717fff54
Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
Update Dockerfile
2025-10-22 19:47:58 -05:00

49 lines
1.0 KiB
Docker

FROM rockylinux/rockylinux:9
RUN dnf install -y epel-release && \
dnf install -y \
iputils \
iproute \
iperf3 \
net-tools \
procps-ng \
wget \
which \
vim \
jq \
createrepo_c \
golang \
python3-pip \
git \
tree \
tmux \
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"]