forked from raiden-network/raiden-service-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXME: Install PFSPresenceRouter in synapse container
Note: this builds on top of a pull request branch by https://github.com/anoa When matrix-org/synapse#9491 is released, switch back to installing SYNAPSE from pypi.
- Loading branch information
1 parent
f17b6d6
commit 175d919
Showing
1 changed file
with
6 additions
and
4 deletions.
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 |
---|---|---|
|
@@ -6,19 +6,21 @@ RUN /opt/venv/bin/python -c \ | |
from raiden.constants import Environment; \ | ||
print(DEFAULT_MATRIX_KNOWN_SERVERS[Environment.PRODUCTION])' > /known_servers.default.txt | ||
|
||
FROM python:3.7 | ||
FROM python:3.8 | ||
LABEL maintainer="Raiden Network Team <[email protected]>" | ||
|
||
ARG SYNAPSE_VERSION | ||
|
||
RUN \ | ||
python -m venv /synapse-venv && \ | ||
/synapse-venv/bin/pip install "matrix-synapse[postgres,redis]==${SYNAPSE_VERSION}" | ||
/synapse-venv/bin/pip install "git+https://github.com/matrix-org/synapse.git@anoa/presence_hook#egg=matrix-synapse[postgres,redis]" | ||
|
||
RUN /synapse-venv/bin/pip install psycopg2 coincurve pycryptodome "twisted>=20.3.0" click==7.1.2 docker-py | ||
|
||
COPY eth_auth_provider.py /synapse-venv/lib/python3.7/site-packages/ | ||
COPY admin_user_auth_provider.py /synapse-venv/lib/python3.7/site-packages/ | ||
RUN /synapse-venv/bin/pip install git+https://github.com/raiden-network/raiden-synapse-modules.git@main | ||
|
||
COPY eth_auth_provider.py /synapse-venv/lib/python3.8/site-packages/ | ||
COPY admin_user_auth_provider.py /synapse-venv/lib/python3.8/site-packages/ | ||
COPY synapse-entrypoint.sh /bin/ | ||
COPY render_config_template.py /bin/ | ||
COPY --from=RAIDEN /known_servers.default.txt / | ||
|