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

remove the epel repository after installing the collectl #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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>
@@ -15,6 +15,7 @@ spec:
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