Compare commits

..

4 commits

Author SHA1 Message Date
Kevin Fenzi
04d413b8ee add missing argument passing fix 2018-12-10 11:27:50 -08:00
Kevin Fenzi
3d83467c24 add GeoIP-GeoLite-data-extra 2018-12-07 13:22:33 -08:00
Kevin Fenzi
67b62521c6 update version 2018-11-30 19:53:59 -08:00
Clement Verna
c49c647ecd Drop Release label in favor of OSBS release_bump plugin.
OSBS can automatically bump the release number, for that
we just need to drop the label from the Dockerfile

See https://pagure.io/ContainerSIG/container-sig/issue/1

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-08-27 09:40:36 +02:00

View file

@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:29
FROM registry.fedoraproject.org/fedora:rawhide
MAINTAINER "Fedora Infrastructure" <admin@fedoraproject.org>
ENV VERSION=0.8.4
@ -7,13 +7,11 @@ LABEL BZComponent="mirrormanager2-mirrorlist" \
Version="$VERSION" \
Architecture="x86_64"
RUN dnf install -y mirrormanager2-mirrorlist httpd mod_wsgi GeoIP-GeoLite-data-extra sed
RUN dnf install -y mirrormanager2-mirrorlist httpd mod_wsgi GeoIP-GeoLite-data-extra
RUN dnf install -y patch
COPY logging.patch /root
RUN patch -p1 /usr/share/mirrormanager2/mirrorlist_server.py </root/logging.patch
# Change wsgi options see https://pagure.io/fedora-infrastructure/issue/7553
RUN sed -i -e 's|WSGIDaemonProcess mirrorlist user=apache processes=45 threads=1 display-name=mirrorlist maximum-requests=1000|WSGIDaemonProcess mirrorlist user=apache processes=20 threads=1 display-name=mirrorlist graceful-timeout=30 maximum-requests=1000 request-timeout=30 listen-backlog=1000 queue-timeout=30|' /etc/httpd/conf.d/mirrorlist-server.conf
COPY run.sh /root
RUN chmod +x /root/run.sh
@ -22,4 +20,3 @@ VOLUME ["/var/lib/mirrormanager"]
EXPOSE 80
ENTRYPOINT ["/usr/bin/bash", "/root/run.sh"]
CMD []