Skip to content

Commit 5b58d0e

Browse files
Fryguybdunne
authored andcommitted
Merge pull request #577 from bdunne/disable_subscription-manager
Disable subscription-manager rather than removing it. (cherry picked from commit 284b27b)
1 parent c816929 commit 5b58d0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN chmod +t /tmp
1111

1212
RUN curl -L https://releases.ansible.com/ansible-runner/ansible-runner.el8.repo > /etc/yum.repos.d/ansible-runner.repo
1313

14-
RUN dnf -y remove subscription-manager* && \
14+
RUN sed -i "s/enabled=1/enabled=0/g" /etc/dnf/plugins/subscription-manager.conf && \
1515
dnf -y update && \
1616
if [ ${ARCH} != "s390x" ] ; then dnf -y install https://rpm.manageiq.org/builds/centos/centos-stream-repos-8-6.1.el8.noarch.rpm \
1717
https://rpm.manageiq.org/builds/centos/centos-gpg-keys-8-6.1.el8.noarch.rpm; fi && \

0 commit comments

Comments
 (0)