greenwave role: change yum to dnf in the buildconfig

This commit is contained in:
Matt Jia 2017-10-09 14:36:45 +10:00
parent ce233342a4
commit f3774e3172
No known key found for this signature in database
GPG key ID: 496C2CDC1EF01F5D

View file

@ -13,13 +13,13 @@ spec:
name="Greenwave" \
vendor="Fedora Infrastructure" \
license="MIT"
RUN yum -y install --setopt=tsflags=nodocs \
RUN dnf -v -y install --setopt=tsflags=nodocs \
python-gunicorn \
python-requests \
PyYAML \
fedmsg-hub \
python2-flask
RUN yum -y install --setopt=tsflags=nodocs \
RUN dnf -v -y install --setopt=tsflags=nodocs \
https://kojipkgs.fedoraproject.org//packages/greenwave/0.3/1.fc26/noarch/greenwave-0.3-1.fc26.noarch.rpm
EXPOSE 8080
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app