2022-10-14 13:33:19 +00:00
|
|
|
FROM {{ matrix_synapse_docker_image }}
|
|
|
|
|
2022-10-14 14:41:41 +00:00
|
|
|
{% if matrix_synapse_container_image_customizations_s3_storage_provider_installation_enabled %}
|
2023-01-03 20:18:49 +00:00
|
|
|
{% if matrix_synapse_ext_synapse_s3_storage_provider_version == 'git' %}
|
|
|
|
RUN apt-get update -yq && apt-get install -yq git && pip install git+https://github.com/matrix-org/synapse-s3-storage-provider.git
|
|
|
|
{% else %}
|
2022-10-14 14:41:41 +00:00
|
|
|
RUN pip install synapse-s3-storage-provider=={{ matrix_synapse_ext_synapse_s3_storage_provider_version }}
|
2023-01-03 20:18:49 +00:00
|
|
|
{% endif %}
|
2022-10-14 14:41:41 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2022-10-14 13:33:19 +00:00
|
|
|
{{ matrix_synapse_container_image_customizations_dockerfile_body_custom }}
|