mirror of
https://git.anonymousland.org/anonymousland/synapse-worker-docker.git
synced 2024-10-01 11:49:56 -04:00
nginx user
This commit is contained in:
parent
f73311ff9f
commit
21d90eeb3b
@ -78,11 +78,16 @@ RUN apk -U upgrade \
|
|||||||
&& adduser -g ${GID} -u ${UID} --disabled-password --gecos "" synapse \
|
&& adduser -g ${GID} -u ${UID} --disabled-password --gecos "" synapse \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# ensure www-data user exists
|
# Ensure www-data user exists
|
||||||
|
|
||||||
|
RUN adduser -S www-data -u 1000
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& addgroup -g 82 -S www-data \
|
&& addgroup -g 82 -S www-data \
|
||||||
&& adduser -u 82 -D -S -G www-data www-data
|
&& adduser -u 82 -D -S -G www-data www-data
|
||||||
|
|
||||||
|
RUN apk --no-cache add shadow && usermod -aG www-data nginx
|
||||||
|
|
||||||
RUN pip install --upgrade pip \
|
RUN pip install --upgrade pip \
|
||||||
&& pip install -e "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdirectory=synapse_antispam"
|
&& pip install -e "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdirectory=synapse_antispam"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user