diff options
-rw-r--r-- | matrix/Dockerfile | 9 |
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"] |