33 lines
848 B
Docker
33 lines
848 B
Docker
# This Dockerfile is used to build and run toddlers on Openshift
|
|
FROM fedora:40
|
|
|
|
LABEL maintainer "Pierre-Yves Chibon <pingou@pingoured.fr>"
|
|
|
|
RUN dnf -y install \
|
|
cairo-devel \
|
|
cairo-gobject-devel \
|
|
fedora-messaging \
|
|
gobject-introspection-devel \
|
|
libmodulemd \
|
|
python3-arrow \
|
|
python3-beanbag \
|
|
python3-beautifulsoup4 \
|
|
python3-bugzilla \
|
|
python3-defusedxml \
|
|
python3-fasjson-client \
|
|
python3-fedora \
|
|
python3-fedora-messaging \
|
|
python3-GitPython \
|
|
python3-koji \
|
|
python3-pip \
|
|
python3-requests \
|
|
python3-gobject \
|
|
python3-pdc-client \
|
|
&& dnf clean all
|
|
|
|
|
|
COPY . /code
|
|
RUN cd /code && pip install .
|
|
#ENTRYPOINT ["/code/entrypoint.sh"]
|
|
ENV PYTHONPATH=/code
|
|
CMD ["fedora-messaging", "consume"]
|