Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Use mautrix-python v0.11.4-mod-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Paul committed Nov 17, 2021
1 parent f720e2a commit 6d0aff7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@ COPY requirements.txt /opt/mautrix-signal/requirements.txt
COPY optional-requirements.txt /opt/mautrix-signal/optional-requirements.txt
WORKDIR /opt/mautrix-signal
RUN apk add --virtual .build-deps python3-dev libffi-dev build-base \
&& pip3 install -r requirements.txt -r optional-requirements.txt \
&& apk del .build-deps

COPY . /opt/mautrix-signal
RUN apk add git && pip3 install .[all] && apk del git \
RUN apk add git \
&& apk add --virtual .build-deps python3-dev libffi-dev build-base \
&& pip3 install .[all] \
&& pip3 install -r requirements.txt -r optional-requirements.txt \
&& pip3 install 'git+https://github.com/vector-im/[email protected]#egg=mautrix' \
&& apk del git \
&& apk del .build-deps \
# This doesn't make the image smaller, but it's needed so that the `version` command works properly
&& cp mautrix_signal/example-config.yaml . && rm -rf mautrix_signal

Expand Down

0 comments on commit 6d0aff7

Please sign in to comment.