Use Satellite repositories during podman build on RHEL8

453 Views Asked by At

I need to be able to use my company's satellite repository while building podman image on top of Red Hat 8 UBI image. I was able to achieve that by copying from host machine those files: /etc/yum.repos.d ,/etc/rhsm and/etc/pki to image during build, however it doesn't seem to be elegant solution.

Is there any way to tell podman to use Host machine entitlements/yum repos during docker build ?

0

There are 0 best solutions below