add necessary olm libs

This commit is contained in:
Sebastian Hugentobler 2020-07-08 20:28:41 +02:00
parent 2cd6c8d51c
commit 8a08de5f7e

View File

@ -33,6 +33,9 @@ RUN apk --no-cache add \
py3-numpy \
py3-psycopg2
RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community add \
olm-dev
RUN mkdir /tmp/mautrix-telegram
RUN wget -qO- https://github.com/tulir/mautrix-telegram/archive/$VERSION.tar.gz | tar -xz --strip 1 -C /tmp/mautrix-telegram
RUN cd /tmp/mautrix-telegram && pip3 install -r requirements.txt -r optional-requirements.txt && pip3 install .
@ -80,6 +83,9 @@ RUN apk --no-cache add \
py3-numpy \
py3-psycopg2
RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community add \
olm
WORKDIR /var/lib/matrix-bridge
RUN mkdir /var/lib/matrix-bridge/data