Bryan,
    Short answer is mileage may vary. See question #21 here: https://developers.redhat.com/articles/ubi-faq/#resources

Best Regards
Scott M

On Tue, Nov 5, 2019 at 9:47 AM Josh Boyer <jwboyer@redhat.com> wrote:
On Tue, Nov 5, 2019 at 9:39 AM Daniel Walsh <dwalsh@redhat.com> wrote:
>
> On 11/5/19 9:24 AM, bryan.hepworth@gmail.com wrote:
> > Just a quick question..
> > Is there a best practice for getting epel in to a ubi8 container?
> >
> > I'm trying to do this with yum -y install and the epel url. Do I need to enable anything else?

That works.  There's not really a better way.  You need to get the
repo file included somehow, and either that or doing it via copying a
local repo file in an image build works fine.

If you want to then use that as a base image for other container
builds that need content from EPEL, you can build that image and use
it in the FROM line for any subsequent containers.

josh


--
-- 
Scott McCarty, RHCA
Product Management - Containers, Red Hat Enterprise Linux & OpenShift
Email: smccarty@redhat.com
Phone: 312-660-3535
Cell: 330-807-1043
Web: http://crunchtools.com
Have you ever wondered what happens behind the scenes when you type www.redhat.com into a browser and hit enter? https://www.redhat.com/en/blog/what-happens-when-you-hit-enter