Skip to content

remove the epel repository after installing the collectl#4

Open
vwalek wants to merge 1 commit intorobbmanes:mainfrom
vwalek:vwalek-bc-change
Open

remove the epel repository after installing the collectl#4
vwalek wants to merge 1 commit intorobbmanes:mainfrom
vwalek:vwalek-bc-change

Conversation

@vwalek
Copy link

@vwalek vwalek commented Jul 26, 2022

Just adding the line to remove the repo after collectl is installed.

Signed-off-by: Vladislav Walek 22072258+vwalek@users.noreply.github.com

Signed-off-by: Vladislav Walek <22072258+vwalek@users.noreply.github.com>
FROM registry.access.redhat.com/ubi7/ubi:7.8
RUN yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y && \
yum install collectl-4.3.0-5.el7 pciutils hostname sysvinit-tools -y && \
yum remove -y epel-release-7-14.noarch && \
Copy link
Owner

Choose a reason for hiding this comment

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

This will only work if 7-14 is the one installed from the above repo; does yum remove epel-release-latest-7 work instead to intentionally keep it version agnostic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants