This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
forked from mautrix/signal
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Paul
committed
Nov 17, 2021
1 parent
f720e2a
commit 6d0aff7
Showing
1 changed file
with
7 additions
and
2 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 |
---|---|---|
|
@@ -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 | ||
|
||
|