mirror of
https://git.anonymousland.org/anonymousland/synapse-worker-docker.git
synced 2024-12-25 15:09:30 -05:00
Update README
This commit is contained in:
parent
7d18fb84d2
commit
b89f52a9c9
@ -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"
|
||||
|
14
README.md
14
README.md
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user