Skip to content

Commit

Permalink
xx
Browse files Browse the repository at this point in the history
  • Loading branch information
pichuang committed Feb 22, 2024
1 parent 67f5765 commit 07690e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile-stream8
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ RUN yum -y install epel-release && \
yum -y update && \
yum -y install \
python3.11 \
python3.11-pip \
iputils \
mtr \
net-tools \
htop \
Expand All @@ -27,6 +29,11 @@ RUN yum -y install epel-release && \
sysstat \
numactl \
hping3 \
dnsperf \
jq \
speedtest-cli \
iperf3 \
procps-ng \
ethtool && \
yum -y clean all

Expand All @@ -42,6 +49,8 @@ RUN echo "cat /etc/motd" >> ~/.bashrc

EXPOSE 5566

USER root
WORKDIR /root
ENV HOSTNAME debug-container

CMD ["/bin/bash", "-l"]
3 changes: 3 additions & 0 deletions pod-debug-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ spec:
name: debug-container
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
securityContext:
runAsUser: root
runAsNonRoot: false

0 comments on commit 07690e9

Please sign in to comment.