From fb93f6dd32860f7198879d8078dd2bfe54d55bf3 Mon Sep 17 00:00:00 2001 From: shu Date: Wed, 8 Jul 2020 18:15:18 +0000 Subject: [PATCH] add olm lib --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4f3870f..9452b5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ ENV VERSION=v0.1.2 RUN apk --no-cache add \ git \ gcc \ + olm-dev \ musl-dev WORKDIR /build @@ -22,7 +23,11 @@ RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge COPY --from=builder /build/bin/mautrix-whatsapp /bin/mautrix-whatsapp -RUN apk --no-cache add ca-certificates +RUN apk --no-cache add \ + ca-certificates + +RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main add \ + olm WORKDIR /var/lib/matrix-bridge