Make debugging Bodhi in staging a little bit easier

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-04-17 13:11:26 +02:00
parent 1fb6c82482
commit 5d8631d7d5
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -26,4 +26,11 @@ RUN ln -s $(python3 -Ic "import sysconfig; print(sysconfig.get_path('purelib', '
RUN rm -f /etc/krb5.conf && \
ln -sf /etc/bodhi/krb5.conf /etc/krb5.conf && \
ln -sf /etc/keytabs/koji-keytab /etc/krb5.bodhi_bodhi{{ env_suffix }}.fedoraproject.org.keytab
{% if env == "staging" %}
# To help debug things
RUN chmod -R a+w $(python3 -Ic "import sysconfig; print(sysconfig.get_path('purelib', 'rpm_prefix'))")
RUN dnf install -y procps-ng fpaste
{% endif %}
ENV USER=openshift