push to v1.27.0

This commit is contained in:
Sebastian Hugentobler 2021-02-23 22:51:10 +01:00
parent 2ff69b5349
commit 076ffd923c
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 7 additions and 11 deletions

View File

@ -12,8 +12,7 @@ RUN apk add --no-cache \
jpeg-dev \ jpeg-dev \
cargo cargo
RUN pip3 install wheel RUN pip3 install --target="/install" matrix-synapse==$VERSION
RUN pip3 wheel matrix-synapse==$VERSION
FROM thallian/confd-env:latest FROM thallian/confd-env:latest
@ -23,19 +22,16 @@ RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synap
RUN apk add --no-cache \ RUN apk add --no-cache \
python3 \ python3 \
py3-pip \ py3-pip \
py3-psycopg2 \ #py3-psycopg2 \
py3-jinja2 \ #py3-jinja2 \
py3-authlib \ #py3-authlib \
libffi \ libffi \
openssl \ openssl \
zlib \ zlib \
jpeg jpeg
ENV PYTHONPATH=$PYTHONPATH:/py-pkgs
RUN mkdir /tmp/wheels COPY --from=builder /install /py-pkgs
COPY --from=builder /*.whl /tmp/wheels/
RUN pip3 install /tmp/wheels/*.whl
ADD /rootfs / ADD /rootfs /

View File

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv sh #!/usr/bin/with-contenv sh
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then
s6-setuidgid matrix-synapse python -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no s6-setuidgid matrix-synapse python3 -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no
fi fi