Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions debug-container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,36 +1,57 @@
# Locking this to a specific Fedora version for now. New releases of Postgresql, and Fedora versions going out of
# support will drive this upgrade every 6-12 months.
FROM quay.io/fedora/fedora:43@sha256:5f32b834046ca567cf7956d8bdf680c3f87c9fa376421b4cf28cf5d023ee0d86
FROM quay.io/fedora/fedora:43.20250718.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't update the image tag. We have a renovate job running to keep it up2date.


RUN dnf -y update && \
dnf -y install \
audit \
bind-utils \
bridge-utils \
community-mysql \
clang \
crash \
curl \
ethtool \
git \
htop \
iotop \
iputils \
iproute \
jq \
kdump-utils \
kexec-tools \
krb5-devel \
libsysstat \
ltrace \
mtr \
nethogs \
net-tools \
nmap \
openssl \
perf \
postgresql \
postgresql-contrib \
procps-ng \
python3-devel \
python3-pip \
python3-psycopg2 \
python3-PyMySQL \
redis \
rsync \
setroubleshoot \
skopeo \
strace \
sysstat \
tcpdump \
telnet \
tmux \
traceroute \
util-linux \
yq \
&& dnf clean all

# Install some python packages using pip
RUN pip install awscli redis
RUN pip install awscli redis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the whitespace:

Suggested change
RUN pip install awscli redis
RUN pip install awscli redis


# Set the prompt to make it clear that this is a debug container
ENV PS1="\[\e[31m\]debug-container\[\e[0m\]\n\[\e[0;32m\]\u\[\e[m\]@\[\e[0;33m\]\h\[\e[m\]:\[\e[0;34m\]\w\[\e[m\] \$ "
Expand Down