Allow to use subscription manager inside RHEL9 containers
More information: see https://access.redhat.com/discussions/5889431
This commit is contained in:
committed by
Jaroslava Fiedlerova
parent
296bddb904
commit
a553b4c6a2
@@ -39,6 +39,7 @@ COPY ./etc-pki-entitlement /etc/pki/entitlement
|
|||||||
COPY ./rhsm-conf /etc/rhsm
|
COPY ./rhsm-conf /etc/rhsm
|
||||||
COPY ./rhsm-ca /etc/rhsm/ca
|
COPY ./rhsm-ca /etc/rhsm/ca
|
||||||
|
|
||||||
|
ENV SMDEV_CONTAINER_OFF=1
|
||||||
#install developers pkg/repo
|
#install developers pkg/repo
|
||||||
RUN rm -f /etc/rhsm-host && \
|
RUN rm -f /etc/rhsm-host && \
|
||||||
yum repolist --disablerepo=* && \
|
yum repolist --disablerepo=* && \
|
||||||
|
|||||||
Reference in New Issue
Block a user