Compare commits
1 Commits
0.0.6
...
base-image
| Author | SHA1 | Date | |
|---|---|---|---|
| e17375fec0 |
29
Dockerfile
29
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM rockylinux:9
|
FROM rockylinux/rockylinux:9
|
||||||
|
|
||||||
RUN dnf update -y && \
|
RUN dnf update -y && \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
@@ -12,28 +12,7 @@ RUN dnf update -y && \
|
|||||||
vim \
|
vim \
|
||||||
jq \
|
jq \
|
||||||
createrepo_c \
|
createrepo_c \
|
||||||
golang \
|
python3-pip && \
|
||||||
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 group install -y "Development Tools" && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
case "$(uname -m)" in \
|
case "$(uname -m)" in \
|
||||||
@@ -41,8 +20,6 @@ RUN dnf update -y && \
|
|||||||
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -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 ;; \
|
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
||||||
esac && \
|
esac && \
|
||||||
chmod +x /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"]
|
CMD ["/bin/bash"]
|
||||||
Reference in New Issue
Block a user