Add a Dockerfile to the source so we can use s2i in openshift

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-12-05 17:43:29 +01:00 committed by Nils Philippsen
parent 9c018ff12e
commit 7e5e5cf5aa

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
# This Dockerfile is used to build the distgit-bugzilla-sync service on Openshift
FROM fedora:31
LABEL maintainer "Pierre-Yves Chibon <pingou@pingoured.fr>"
RUN dnf -y install python3-defusedxml python3-bugzilla python3-fedora \
python3-pyyaml python3-requests python3-toml python3-dogpile-cache \
&& dnf clean all
COPY . /code
RUN cd /code && python3 setup.py install