bodhi: Install the composer in the consumer image.

The composer isn't actually used in OpenShift, but unfortunately
we forgot to make the import optional in Bodhi 4.0.0b1. This
results in a lot of unnecessary dependencies getting into the
container image, so I will make a future Bodhi release that makes
the composer import in the consumer optional. For now, let's just
make a bloated container.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2019-05-15 18:35:11 +00:00
parent 6f2872da16
commit cac31d7323

View file

@ -77,7 +77,7 @@ items:
{% endif %}
# While dnf has a --nodocs, it doesen't have a --docs...
RUN sed -i '/nodocs/d' /etc/dnf/dnf.conf
RUN dnf install -y bodhi-server-{{bodhi_version}}
RUN dnf install -y bodhi-composer-{{bodhi_version}} bodhi-server-{{bodhi_version}}
# Set up krb5
RUN rm -f /etc/krb5.conf && \
ln -sf /etc/bodhi/krb5.conf /etc/krb5.conf && \