-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from eimis-ans/feat/add-eimis-modules
Include EIMIS modules to Synapse image
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
FROM matrixdotorg/synapse:v1.104.0 | ||
|
||
ARG S3_MEDIA_MODULE_VERSION=v1.4.0 | ||
ARG WHITELIST_MODULE_VERSION=v1.0.0 | ||
ARG PSC_MAPPING_PROVIDER_VERSION=v1.0.0 | ||
|
||
COPY ./html-templates/*.html /usr/local/lib/python3.11/site-packages/synapse/res/templates/ | ||
|
||
ADD https://raw.githubusercontent.com/matrix-org/synapse-s3-storage-provider/${S3_MEDIA_MODULE_VERSION}/s3_storage_provider.py /usr/local/lib/python3.11/site-packages/s3_storage_provider.py | ||
RUN pip install --no-cache-dir boto3==1.34.64 | ||
|
||
ADD https://raw.githubusercontent.com/eimis-ans/white-list-synapse-module/${WHITELIST_MODULE_VERSION}/white_list_module/__init__.py /usr/local/lib/python3.11/site-packages/white_list_module/__init__.py | ||
RUN chmod 644 /usr/local/lib/python3.11/site-packages/white_list_module/__init__.py | ||
|
||
ADD https://raw.githubusercontent.com/eimis-ans/white-list-synapse-module/${WHITELIST_MODULE_VERSION}/white_list_module/__init__.py /usr/local/lib/python3.11/site-packages/white_list_module/__init__.py | ||
RUN chmod 644 /usr/local/lib/python3.11/site-packages/white_list_module/__init__.py | ||
|
||
ADD https://raw.githubusercontent.com/eimis-ans/eimis-prosante-connect-module/${PSC_MAPPING_PROVIDER_VERSION}/psc_mapping_provider/__init__.py /usr/local/lib/python3.11/site-packages/synapse/psc_mapping_provider.py | ||
RUN chmod 644 /usr/local/lib/python3.11/site-packages/synapse/psc_mapping_provider.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters