From cac31d7323796b3ee7066c2f33a055d8f604fa87 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Wed, 15 May 2019 18:35:11 +0000 Subject: [PATCH] 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 --- roles/openshift-apps/bodhi/templates/buildconfig.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/bodhi/templates/buildconfig.yml b/roles/openshift-apps/bodhi/templates/buildconfig.yml index 90c88eb7a5..d1d6a7133a 100644 --- a/roles/openshift-apps/bodhi/templates/buildconfig.yml +++ b/roles/openshift-apps/bodhi/templates/buildconfig.yml @@ -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 && \