Fixes & added synapse
This commit is contained in:
committed by
Christian Richter
parent
2a0da18856
commit
5fc6c62d8c
6
matrix-synapse/Dockerfile
Normal file
6
matrix-synapse/Dockerfile
Normal 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
|
||||
7
matrix-synapse/Dockerfile.arm32v7
Normal file
7
matrix-synapse/Dockerfile.arm32v7
Normal 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
7
matrix-synapse/README.md
Normal 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
|
||||
2
matrix-synapse/hooks/post_checkout
Normal file
2
matrix-synapse/hooks/post_checkout
Normal 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
|
||||
4
matrix-synapse/hooks/pre_build
Normal file
4
matrix-synapse/hooks/pre_build
Normal 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
|
||||
Reference in New Issue
Block a user