Update README

This commit is contained in:
deathrow 2022-10-31 20:40:01 -04:00
parent 7d18fb84d2
commit b89f52a9c9
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73
2 changed files with 14 additions and 3 deletions

View File

@ -17,7 +17,6 @@ RUN apk --no-cache add build-base git gnupg && cd /tmp \
&& cd hardened_malloc && git verify-tag $(git describe --tags) \
&& make CONFIG_NATIVE=${CONFIG_NATIVE} VARIANT=${VARIANT}
### Nginx & Redis
FROM alpine:latest as deps_base
@ -78,7 +77,6 @@ RUN apk -U upgrade \
&& adduser -g ${GID} -u ${UID} --disabled-password --gecos "" synapse \
&& rm -rf /var/cache/apk/*
# Ensure www-data user exists
RUN set -x ; \
addgroup -g 82 -S www-data ; \
adduser -u 82 -D -S -G www-data www-data && exit 0 ; exit 1
@ -102,7 +100,6 @@ COPY --from=builder /install /usr/local
COPY --chown=synapse:synapse rootfs /
COPY --from=redis_base /usr/local/bin/redis-server /usr/local/bin
COPY ./rootfs/conf-workers/* /conf/
# Copy a script to prefix log lines with the supervisor program name
COPY ./prefix-log /usr/local/bin/
ENV LD_PRELOAD="/usr/local/lib/libhardened_malloc.so"

View File

@ -9,6 +9,20 @@ It would be advisable to use this in conjunction with Synapse-Docker.
Uses alpine as the base images and features a hardened memory allocator and has mjonir support.
## Building
``
git clone https://codeberg.org/deathrow/synapse-worker-docker/
``
``
cd synapse-worker-docker
``
``
docker build .
``
## Links
- [Synapse Docker](https://github.com/matrix-org/synapse/tree/develop/docker)