Fixes & added synapse

This commit is contained in:
Christian
2020-09-16 13:32:45 +02:00
committed by Christian Richter
parent 2a0da18856
commit 5fc6c62d8c
11 changed files with 32 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
FROM debian:latest
LABEL maintainer="dragonchaser <crichter@suse.de>"
RUN apt-get update && apt-get install -y python3-pip libopenjp2-7 python3-libtiff
RUN pip3 install matrix-synapse
WORKDIR /synapse
CMD synctl start

View File

@@ -0,0 +1,7 @@
FROM arm32v7/debian:buster-slim
COPY qemu-arm-static /usr/bin
LABEL maintainer="dragonchaser <crichter@suse.de>"
RUN apt-get update && apt-get install -y python3-pip libopenjp2-7 python3-libtiff
RUN pip3 install matrix-synapse
WORKDIR /synapse
CMD synctl start

7
matrix-synapse/README.md Normal file
View File

@@ -0,0 +1,7 @@
# matrix-synapse
This container runs the matrix reference server synapse (https://github.com/matrix-org/synapse).
Mount data to `/synapse`.
https://hub.docker.com/r/dragonchaser/matrix-synapse

View File

@@ -0,0 +1,2 @@
#!/bin/bash
curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static . && pwd && ls

View File

@@ -0,0 +1,4 @@
#!/bin/bash
#register qemu-*-static for all supported processors except the
# current one, but also remove all registered binfmt_misc before
docker run --rm --privileged multiarch/qemu-user-static:register --reset