Skip to content

Commit 3a735da

Browse files
lukaslihotzki-fnico-famedly
authored andcommitted
refactor: merge pip install invocations
1 parent e0a872d commit 3a735da

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docker/Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,14 @@ RUN --mount=type=cache,target=/root/.cache/pip \
138138

139139
RUN --mount=type=cache,target=/root/.cache/pip \
140140
pip install setuptools \
141-
&& pip install --prefix="/install" --no-warn-script-location synapse-token-authenticator==0.6.0 \
142-
&& pip install --prefix="/install" --no-warn-script-location matrix-synapse-ldap3 \
143-
&& pip install --prefix="/install" --no-warn-script-location synapse-s3-storage-provider \
144-
&& pip install --prefix="/install" --no-warn-script-location synapse-auto-accept-invite \
145-
&& pip install --prefix="/install" --no-warn-script-location synapse-invite-checker==0.2.0 \
146-
&& pip install --prefix="/install" --no-warn-script-location git+https://github.com/famedly/synapse-invite-policies.git@main \
147-
&& pip install --prefix="/install" --no-warn-script-location git+https://github.com/famedly/synapse-domain-rule-checker.git@main
141+
&& pip install --prefix="/install" --no-warn-script-location \
142+
synapse-token-authenticator==0.6.0 \
143+
matrix-synapse-ldap3 \
144+
synapse-s3-storage-provider \
145+
synapse-auto-accept-invite \
146+
synapse-invite-checker==0.2.0 \
147+
git+https://github.com/famedly/synapse-invite-policies.git@main \
148+
git+https://github.com/famedly/synapse-domain-rule-checker.git@main
148149

149150
# Copy over the rest of the synapse source code.
150151
COPY synapse /synapse/synapse/

0 commit comments

Comments
 (0)