test: move container/ into test/
Move the container directory, containing the container definitions for all the test containers, to test/, where all the other test- related files are located (with the exception of `Schutzbot`). Use `test/build-container.sh` to build the container, instead of replicating that in `test-integration.sh`.
This commit is contained in:
parent
b625f96c2b
commit
aa8513c20d
19 changed files with 24 additions and 25 deletions
21
test/container/builder/Dockerfile.fedora
Normal file
21
test/container/builder/Dockerfile.fedora
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM docker.io/library/fedora:latest
|
||||
|
||||
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 test/container/builder/kojid.conf /etc/kojid/kojid.conf
|
||||
COPY plugins/builder/osbuild.py /usr/lib/koji-builder-plugins/
|
||||
COPY test/container/builder/run-kojid.sh /app/run-kojid.sh
|
||||
COPY test/container/builder/osbuild.krb5.conf /etc/krb5.conf.d/
|
||||
|
||||
ENTRYPOINT /app/run-kojid.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue