In order to avoid running into docker.io's new download limit, use the container directly from registry.fedoraproject.org.
22 lines
531 B
Text
22 lines
531 B
Text
ARG version=latest
|
|
|
|
FROM registry.fedoraproject.org/fedora:$version
|
|
|
|
RUN dnf -y upgrade \
|
|
&& dnf -y \
|
|
--setopt=fastestmirror=True \
|
|
--setopt=install_weak_deps=False \
|
|
install \
|
|
koji-builder \
|
|
koji-utils \
|
|
createrepo_c \
|
|
postgresql \
|
|
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
|