debian-koji-osbuild/test/container/builder/Dockerfile.rhel
Alexander Todorov e778771f2b Remove rhel.repo to avoid dnf being confused
when building the containers the initial `dnf upgrade` will download
content from the latest nightly trees which turns the container into a
Beta system and subsequent `dnf isntall` gets confused!
2021-07-29 11:19:33 +02:00

22 lines
514 B
Text

ARG version=latest
FROM registry.access.redhat.com/ubi8/ubi:$version
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 container/builder/run-kojid.sh /app/run-kojid.sh
COPY container/builder/osbuild.krb5.conf /etc/krb5.conf.d/
ENTRYPOINT /app/run-kojid.sh