Notes RedHat yum dnf Docker

Voir :

tdnf

FROM redhat/ubi8
COPY ./redhat_ubi.repo /etc/yum.repos.d/redhat_ubi8.repo
RUN yum -y install net-tools iputils

redhat_ubi8.repo

[Default_Organization_Red_Hat_UBI_8_ubi-8-baseos] name = ubi-8-baseos baseurl = https://lb-capsule.acme.local/pulp/repos/Default_Organization/cats-prod/cv-UBI8/custom/Red_Hat_UBI_8/ubi-8-baseos enabled = 1 gpgcheck = 0 [Default_Organization_Red_Hat_UBI_8_ubi-8-appstream] name = ubi-8-appstream baseurl = https://lb-capsule.acme.local/pulp/repos/Default_Organization/cats-prod/cv-UBI8/custom/Red_Hat_UBI_8/ubi-8-appstream enabled = 1 gpgcheck = 0 [Default_Organization_Red_Hat_UBI_8_ubi-8-codeready-builder] name = ubi-8-codeready-builder baseurl = https://lb-capsule.acme.local/pulp/repos/Default_Organization/cats-prod/cv-UBI8/custom/Red_Hat_UBI_8/ubi-8-codeready-builder enabled = 1