From 95ad3dd015df4ce780fc27de0e4bf3908759018c Mon Sep 17 00:00:00 2001 From: Eric Stroczynski Date: Thu, 19 Sep 2019 10:55:56 -0700 Subject: [PATCH] integration.Dockerfile: image for integration tests --- integration.Dockerfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 integration.Dockerfile diff --git a/integration.Dockerfile b/integration.Dockerfile new file mode 100644 index 0000000..1563a41 --- /dev/null +++ b/integration.Dockerfile @@ -0,0 +1,35 @@ +FROM fedora:29 +LABEL \ + name="Operators Manifests Push Service" \ + vendor="Red Hat, Inc" \ + image="integration" \ + license="GPLv3" + +# Test and build dependencies. +RUN dnf -y install \ + git \ + gcc \ + redhat-rpm-config \ + popt-devel \ + rpm-devel \ + krb5-devel \ + python3-devel \ + python3-gunicorn \ + python3-flask \ + python3-jsonschema \ + python3-koji \ + python3-pyyaml \ + python3-requests \ + python3-operator-courier \ + && dnf -y clean all \ + && rm -rf /tmp/* + +RUN dnf --enablerepo=updates-testing -y update python3-operator-courier \ + && dnf -y clean all \ + && rm -rf /tmp/* + +RUN pip3 install tox coveralls + +WORKDIR /src +COPY . . +RUN pip3 install -e .