debian-koji-osbuild/container/builder/Dockerfile.rhel
Christian Kellner 2aae1242f8 container: add RHEL container variants
Add a RHEL version of container/*/Dockerfile. Uses the internal
repos.
2020-09-17 10:48:37 +02:00

22 lines
598 B
Text

FROM registry.access.redhat.com/ubi8/ubi:latest
COPY container/rhel.repo /etc/yum.repos.d/
COPY container/brew.repo /etc/yum.repos.d/
RUN dnf -y upgrade \
&& dnf -y \
--setopt=fastestmirror=True \
--setopt=install_weak_deps=False \
install \
koji-builder \
koji-utils \
python3-koji \
python3-requests \
&& dnf clean all
COPY container/builder/kojid.conf /etc/kojid/kojid.conf
COPY plugins/builder/osbuild.py /usr/lib/koji-builder-plugins/
COPY container/builder/run-kojid.sh /app/run-kojid.sh
COPY container/builder/osbuild.krb5.conf /etc/krb5.conf.d/
ENTRYPOINT /app/run-kojid.sh