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!
22 lines
514 B
Text
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
|