distgit-bugzilla-sync/Dockerfile
Pierre-Yves Chibon 7e5e5cf5aa Add a Dockerfile to the source so we can use s2i in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-12-06 16:30:28 +01:00

11 lines
380 B
Docker

# 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