add olm lib

This commit is contained in:
Sebastian Hugentobler 2020-07-08 18:15:18 +00:00
parent 0991876be1
commit fb93f6dd32

View File

@ -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