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:
parent
9c018ff12e
commit
7e5e5cf5aa
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue