Files
rocky-dev-container/Dockerfile
Stephen Simpson da754ca754
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 3m38s
fix: update Dockerfile to include additional packages for development environment
Signed-off-by: Stephen Simpson <stevo81989@gmail.com>
2025-08-14 20:23:34 -05:00

48 lines
1.1 KiB
Docker

FROM 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 && \
case "$(uname -m)" in \
x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
esac && \
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"]