Install libldap-2.5 explicitly when installing synapse-s3-storage-provider to satisfy its psycopg2 dependency

This commit is contained in:
Slavi Pantaleev
2025-03-29 06:42:28 +02:00
parent 64b3aeb1e0
commit e5574a405e
2 changed files with 23 additions and 0 deletions

View File

@ -11,6 +11,9 @@ RUN pip install 'boto3<1.36.0' 'botocore<1.36.0' synapse-s3-storage-provider=={{
{% else %}
RUN pip install synapse-s3-storage-provider=={{ matrix_synapse_ext_synapse_s3_storage_provider_version }}
{% endif %}
{% if matrix_synapse_container_image_customizations_s3_storage_provider_installation_explicit_libldap_installation_enabled %}
RUN apt-get update && apt-get install --no-install-recommends -y {{ matrix_synapse_container_image_customizations_s3_storage_provider_installation_explicit_libldap_installation_package_name }}
{% endif %}
{% endif %}
{% if matrix_synapse_container_image_customizations_templates_enabled %}