Skip to content

Commit

Permalink
Try to fix docker build failed.
Browse files Browse the repository at this point in the history
yingziwu committed Apr 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7afb04c commit a54684a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -65,6 +65,10 @@ WORKDIR /synapse
# Copy just what we need to run `poetry export`...
COPY pyproject.toml poetry.lock /synapse/

# Fix Package docutils (0.21.post1) not found.
# https://github.com/python-poetry/poetry/issues/9293
RUN sed -e '$a [[tool.poetry.source]]' -e '$aname = "pypi-public"' -e '$aurl = "https://pypi.org/simple/"' -i /synapse/pyproject.toml

# Install custom extensions
RUN /root/.local/bin/poetry add --lock -- \
"git+https://github.com/devture/matrix-synapse-shared-secret-auth#master" \

0 comments on commit a54684a

Please sign in to comment.