Make staging bodhi FE download the latest bodhi package
This commit is contained in:
parent
65f5a72086
commit
e37f9f63d3
1 changed files with 4 additions and 0 deletions
|
@ -6,7 +6,11 @@ LABEL \
|
||||||
RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/infra/ansible/files/common/fedora-infra-tags.repo
|
RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/infra/ansible/files/common/fedora-infra-tags.repo
|
||||||
# While dnf has a --nodocs, it doesen't have a --docs...
|
# While dnf has a --nodocs, it doesen't have a --docs...
|
||||||
RUN sed -i '/nodocs/d' /etc/dnf/dnf.conf
|
RUN sed -i '/nodocs/d' /etc/dnf/dnf.conf
|
||||||
|
{% if env == "staging" %}
|
||||||
|
RUN dnf install -y bodhi-server bodhi-docs python3-pyramid_sawing python3-gunicorn
|
||||||
|
{% else %}
|
||||||
RUN dnf install -y bodhi-server-{{bodhi_version}} bodhi-docs-{{bodhi_version}} python3-pyramid_sawing python3-gunicorn
|
RUN dnf install -y bodhi-server-{{bodhi_version}} bodhi-docs-{{bodhi_version}} python3-pyramid_sawing python3-gunicorn
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Set up krb5
|
# Set up krb5
|
||||||
RUN rm -f /etc/krb5.conf && \
|
RUN rm -f /etc/krb5.conf && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue