瀏覽代碼

Allow 'git' as a version for s3 storage provider

pull/2220/head
Cody Wyatt Neiman 3 年之前
父節點
當前提交
6d96bcee1d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 94475C8B94E4698D
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      roles/custom/matrix-synapse/templates/synapse/customizations/Dockerfile.j2

+ 4
- 0
roles/custom/matrix-synapse/templates/synapse/customizations/Dockerfile.j2 查看文件

@@ -1,7 +1,11 @@
FROM {{ matrix_synapse_docker_image }}

{% if matrix_synapse_container_image_customizations_s3_storage_provider_installation_enabled %}
{% 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 %}
RUN pip install synapse-s3-storage-provider=={{ matrix_synapse_ext_synapse_s3_storage_provider_version }}
{% endif %}
{% endif %}

{{ matrix_synapse_container_image_customizations_dockerfile_body_custom }}

Loading…
取消
儲存