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