Skip to content

Commit

Permalink
restore removal of rhel package manager (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbycochran authored Oct 5, 2020
1 parent e97b177 commit f5b2cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collector/container/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN mv collector-wrapper.sh /usr/local/bin/ && \
dnf install -y kmod && \
dnf clean all && \
rm -rf /var/cache/dnf && \
# (Optional) Remove line below to keep package management utilities
rpm -e --nodeps rpm rpm-build-libs rpm-libs python3-rpm subscription-manager python3-subscription-manager-rhsm yum $(rpm -qa *dnf*) python3-hawkey && \
echo "${MODULE_VERSION}" > /kernel-modules/MODULE_VERSION.txt


Expand Down

0 comments on commit f5b2cd4

Please sign in to comment.