debian-koji-osbuild/test/Dockerfile
Christian Kellner 734d039089 test: add github test environment action
Create a github action that accepts any command with args and runs
it in a container that is prepared with all the dependencies for
koji (hub, builder, command line), so all tests, like pylint or
unit tests can run in it.
2020-09-12 16:00:54 +02:00

21 lines
402 B
Docker

FROM docker.io/library/fedora:latest
RUN dnf -y upgrade \
&& dnf -y \
--setopt=fastestmirror=True \
--setopt=install_weak_deps=False \
install \
koji-builder \
koji-hub \
koji-utils \
koji \
postgresql \
pylint \
python3-flexmock \
python3-jsonschema \
python3-koji \
&& dnf clean all
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]