From 7cebcd9231ae703019570676b12ba8dbcbd829b1 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 16 Sep 2020 15:15:44 +0200 Subject: [PATCH] Fix missing packet for arm --- matrix-synapse/Dockerfile | 6 +++++- matrix-synapse/Dockerfile.arm32v7 | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/matrix-synapse/Dockerfile b/matrix-synapse/Dockerfile index 62d9a03..74112f3 100644 --- a/matrix-synapse/Dockerfile +++ b/matrix-synapse/Dockerfile @@ -2,5 +2,9 @@ FROM debian:latest LABEL maintainer="dragonchaser " RUN apt-get update && apt-get install -y python3-pip libopenjp2-7 python3-libtiff RUN pip3 install matrix-synapse +EXPOSE 8448 +EXPOSE 8008 +RUN useradd -ms /bin/bash -d /synapse synapse +USER synapse WORKDIR /synapse -CMD synctl start +CMD synctl start --no-daemonize diff --git a/matrix-synapse/Dockerfile.arm32v7 b/matrix-synapse/Dockerfile.arm32v7 index 67c45dd..8749a29 100644 --- a/matrix-synapse/Dockerfile.arm32v7 +++ b/matrix-synapse/Dockerfile.arm32v7 @@ -1,7 +1,12 @@ FROM arm32v7/debian:buster-slim COPY qemu-arm-static /usr/bin LABEL maintainer="dragonchaser " -RUN apt-get update && apt-get install -y python3-pip libopenjp2-7 python3-libtiff +RUN apt-get update && apt-get install -y libssl-dev libffi-dev python3-pip libopenjp2-7 python3-libtiff +RUN pip3 install cryptography RUN pip3 install matrix-synapse +EXPOSE 8448 +EXPOSE 8008 +RUN useradd -ms /bin/bash -d /synapse synapse +USER synapse WORKDIR /synapse -CMD synctl start +CMD synctl start --no-daemonize