From 8a08de5f7ea67bd34dadde7d85113058850cd30e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 8 Jul 2020 20:28:41 +0200 Subject: [PATCH] add necessary olm libs --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0e9485c..c517a3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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