aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-12-28 18:10:31 +0000
committerbloodstalker <thabogre@gmail.com>2020-12-28 18:10:31 +0000
commite6cd644e0c73d9efa21cef78c159a84f7a29fa43 (patch)
tree1b40bb003aef14940981a9501f80fb54eee306cb
parentupdate (diff)
downloaddockerimages-e6cd644e0c73d9efa21cef78c159a84f7a29fa43.tar.gz
dockerimages-e6cd644e0c73d9efa21cef78c159a84f7a29fa43.zip
added the matrix client docker
-rw-r--r--matrix/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/matrix/Dockerfile b/matrix/Dockerfile
new file mode 100644
index 0000000..a84e71b
--- /dev/null
+++ b/matrix/Dockerfile
@@ -0,0 +1,9 @@
+FROM debian:bullseye-slim AS builder
+RUN apt update && apt upgrade -y
+RUN apt install -y golang libolm-dev 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"]