test: make hub container self contained
Instead of building on the existing quay.io/osbuild/koji:v1, and then replacing a lot of it (entry point), move the packages and the dnf.conf change over from the former base and then directly depend on Fedora. This gives us more control, especially over what Fedora version is being used.
This commit is contained in:
parent
16f762c2ed
commit
d60dd9f362
1 changed files with 7 additions and 1 deletions
|
|
@ -1,11 +1,17 @@
|
|||
FROM quay.io/osbuild/koji:v1
|
||||
FROM docker.io/library/fedora:latest
|
||||
|
||||
# koji db schema is in docs, remove nodocs from from dnf config
|
||||
RUN sed -i '/^tsflags=nodocs$/d' /etc/dnf/dnf.conf
|
||||
|
||||
RUN dnf -y upgrade \
|
||||
&& dnf -y \
|
||||
--setopt=fastestmirror=True \
|
||||
--setopt=install_weak_deps=False \
|
||||
install \
|
||||
koji-hub \
|
||||
koji-web \
|
||||
postgresql \
|
||||
mod_ssl \
|
||||
python3-jsonschema \
|
||||
&& dnf clean all
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue