Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 15717fff54 | |||
| 84df07759c | |||
| 0a60f500a4 | |||
| b0262ab897 |
24
Dockerfile
24
Dockerfile
@@ -1,7 +1,7 @@
|
|||||||
FROM rockylinux/rockylinux:9
|
FROM rockylinux/rockylinux:9
|
||||||
|
|
||||||
RUN dnf update -y
|
RUN dnf install -y epel-release && \
|
||||||
RUN dnf install -y \
|
dnf install -y \
|
||||||
iputils \
|
iputils \
|
||||||
iproute \
|
iproute \
|
||||||
iperf3 \
|
iperf3 \
|
||||||
@@ -14,12 +14,9 @@ RUN dnf install -y \
|
|||||||
createrepo_c \
|
createrepo_c \
|
||||||
golang \
|
golang \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
curl \
|
|
||||||
git \
|
git \
|
||||||
tree \
|
tree \
|
||||||
htop \
|
|
||||||
tmux \
|
tmux \
|
||||||
screen \
|
|
||||||
nano \
|
nano \
|
||||||
unzip \
|
unzip \
|
||||||
tar \
|
tar \
|
||||||
@@ -33,15 +30,18 @@ RUN dnf install -y \
|
|||||||
lsof \
|
lsof \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
nodejs \
|
nodejs \
|
||||||
rsync \
|
npm && \
|
||||||
npm
|
dnf group install -y "Development Tools" && \
|
||||||
RUN dnf group install -y "Development Tools" && \
|
dnf clean all
|
||||||
dnf clean all && \
|
|
||||||
case "$(uname -m)" in \
|
RUN set -e && \
|
||||||
x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \
|
ARCH=$(uname -m) && \
|
||||||
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \
|
case "$ARCH" in \
|
||||||
|
x86_64) YQ_ARCH="amd64" ;; \
|
||||||
|
aarch64) YQ_ARCH="arm64" ;; \
|
||||||
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
||||||
esac && \
|
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 && \
|
chmod +x /usr/local/bin/yq && \
|
||||||
echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \
|
echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \
|
||||||
echo "alias ls='ls --color=auto'" >> /root/.bashrc
|
echo "alias ls='ls --color=auto'" >> /root/.bashrc
|
||||||
|
|||||||
Reference in New Issue
Block a user