diff options
-rw-r--r-- | matrix/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/matrix/Dockerfile b/matrix/Dockerfile index a84e71b..7a8f704 100644 --- a/matrix/Dockerfile +++ b/matrix/Dockerfile @@ -1,9 +1,11 @@ FROM debian:bullseye-slim AS builder RUN apt update && apt upgrade -y -RUN apt install -y golang libolm-dev gcc g++ git +RUN apt install -y golang libolm-dev libolm3 gcc g++ git WORKDIR /root RUN git clone https://github.com/tulir/gomuks.git && cd gomuks && go build FROM debian:bullseye-slim COPY --from=builder /root/gomuks/gomuks /root/gomuks -ENTRYPOINT ["gomuks"] +RUN apt update && apt install libolm3 +ENTRYPOINT ["/root/gomuks"] +RUN rm -rf /var/lib/apt/lists/* |