summaryrefslogtreecommitdiff
path: root/images/matrix/Dockerfile
diff options
context:
space:
mode:
authorSystem administrator2017-05-29 13:26:10 +0200
committerSystem administrator2017-05-29 13:26:10 +0200
commitbc5c44dd049bad3b007be48b3f8d90886d63c105 (patch)
treea381d989db2295f228f9bc95a774f0cc9aef4c40 /images/matrix/Dockerfile
downloadserver-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.gz
server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.xz
server-bc5c44dd049bad3b007be48b3f8d90886d63c105.zip
Initial commit
Diffstat (limited to 'images/matrix/Dockerfile')
-rw-r--r--images/matrix/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/images/matrix/Dockerfile b/images/matrix/Dockerfile
new file mode 100644
index 0000000..5569475
--- /dev/null
+++ b/images/matrix/Dockerfile
@@ -0,0 +1,15 @@
+FROM alpine:3.5 AS builder
+
+RUN apk add --no-cache build-base ca-certificates python2-dev py2-pip su-exec \
+ py2-psycopg2 py2-msgpack py2-psutil py2-openssl py2-yaml py-twisted py2-netaddr \
+ py2-cffi py2-asn1 py2-asn1-modules py2-cryptography py2-pillow py2-decorator py2-jinja2 \
+ py2-requests py2-simplejson py2-tz py2-crypto py2-dateutil py2-service_identity
+
+RUN pip install https://github.com/kdltr/synapse/tarball/master
+
+ADD synapse /app/synapse
+
+ENTRYPOINT python -m synapse.app.homeserver \
+ --server-name tx0.co \
+ --config-path /app/synapse/homeserver.yaml \
+ --report-stats=no