From c9b14c8ed1847c24f9513de8932e0001870e3c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20T=C3=B6tterman?= Date: Fri, 8 Mar 2019 15:34:14 +0200 Subject: [PATCH] Add Dockerfile --- Dockerfile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..501f1ae --- /dev/null +++ b/Dockerfile @@ -0,0 +1,43 @@ +FROM debian:buster-slim + +ENV DEBIAN_FRONTEND="noninteractive" \ + LANG="C.UTF-8" + +RUN apt-get update \ + && apt-get -qq -y install \ + cmake \ + git \ + python-atomicwrites \ + python-attr \ + python-future \ + python-h2 \ + python-jsonschema \ + python-logbook \ + python-openssl \ + python-peewee \ + python-pip \ + python-pygments \ + python-typing \ + python-unpaddedbase64 \ + python-webcolors \ + python-wheel \ + weechat \ + weechat-python \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && pip install h11 \ + && rm -rf /root/.cache + +WORKDIR /root +RUN git clone https://git.matrix.org/git/olm.git \ + && cd olm \ + && cmake . \ + && make install \ + && ldconfig +RUN pip install 'git+https://github.com/poljar/python-olm.git@master#egg=python-olm-0' +RUN git clone https://github.com/poljar/matrix-nio \ + && cd matrix-nio \ + && DESTDIR=/ make install +RUN git clone https://github.com/poljar/weechat-matrix \ + && cd weechat-matrix \ + && make install