Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSD-26417] moving to rhel repo perf installation #181

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
11 changes: 5 additions & 6 deletions debug-container-fedramp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Build an AppSRE FedRamp-centric container for debugging issues (see git clone below)

# NOTE: postgres utils here are set to v14 by design
#FROM registry.access.redhat.com/ubi8/ubi:8.8
FROM registry.access.redhat.com/ubi8/ubi:8.10

RUN dnf -y --refresh --security upgrade && \
dnf config-manager --set-enabled ubi-8-baseos-rpms ubi-8-codeready-builder-rpms ubi-8-appstream-rpms && \
dnf -y install dnf-utils \
dracut \
python3-pip \
Expand All @@ -17,16 +17,17 @@ RUN dnf -y --refresh --security upgrade && \
rsync \
skopeo \
iputils \
alternatives

alternatives \
perf

RUN dnf -y config-manager --add-repo https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-8.8-x86_64 \
&& dnf -y config-manager --add-repo https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-8.8-x86_64 \
&& dnf -y config-manager --add-repo https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-8.8-x86_64 \
&& dnf -y config-manager --add-repo https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-8.8-x86_64 \
&& dnf update -y \
&& dnf repolist \
&& dnf -y module disable postgresql
#&& dnf -y module enable postgresql:13 postgresql:14 postgresql:15 postgresql:16 \

RUN dnf -y --nogpgcheck install postgresql13 \
postgresql14 \
postgresql15 \
Expand All @@ -45,8 +46,6 @@ RUN alternatives --install /usr/bin/psql psql /usr/pgsql-13/bin/psql 130 && \
RUN chmod -R 775 /var/lib/alternatives/
RUN chmod -R 775 /etc/alternatives/

RUN git clone --depth 1 https://github.com/brendangregg/perf-tools

RUN pip3 install awscli redis

ENV TERM=vt100
Expand Down