From 7e5e5cf5aa08328cb82443476b456b1ea10f8609 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 5 Dec 2019 17:43:29 +0100 Subject: [PATCH] Add a Dockerfile to the source so we can use s2i in openshift Signed-off-by: Pierre-Yves Chibon --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5a91372 --- /dev/null +++ b/Dockerfile @@ -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 " + +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