diff --git a/roles/openshift-apps/bodhi/templates/dockerfile-base b/roles/openshift-apps/bodhi/templates/dockerfile-base index 15101cccf5..33dd03eb3b 100644 --- a/roles/openshift-apps/bodhi/templates/dockerfile-base +++ b/roles/openshift-apps/bodhi/templates/dockerfile-base @@ -11,7 +11,7 @@ RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraprojec # While dnf has a --nodocs, it doesen't have a --docs... 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 +RUN dnf install -y bodhi-server bodhi-docs python3-pyramid_sawing python3-gunicorn --refresh {% else %} RUN dnf install -y bodhi-server-{{bodhi_version}} bodhi-docs-{{bodhi_version}} python3-pyramid_sawing python3-gunicorn {% endif %}