distgit-bugzilla-sync/Dockerfile
Pierre-Yves Chibon aa0e93f8f8 Specify that the HOME is /tmp in the container
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-12-06 16:33:19 +01:00

13 lines
417 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 \
&& mkdir /.cache
COPY . /code
ENV HOME=/tmp
RUN cd /code && python3 setup.py install