aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2021-01-08 13:56:14 +0000
committerbloodstalker <thabogre@gmail.com>2021-01-08 13:56:14 +0000
commit8600f26f1fb24c671ba53dfe3bfaa5dc9853a285 (patch)
treef734011aa2be121796c3cc471218707c102653b1
parentadded the matrix client docker (diff)
downloaddockerimages-8600f26f1fb24c671ba53dfe3bfaa5dc9853a285.tar.gz
dockerimages-8600f26f1fb24c671ba53dfe3bfaa5dc9853a285.zip
fixed the matrix image
-rw-r--r--matrix/Dockerfile6
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/*