mirror of
https://git.anonymousland.org/anonymousland/synapse-worker-docker.git
synced 2024-10-01 08:25:43 -04:00
Fix user error
This commit is contained in:
parent
21d90eeb3b
commit
7023508acb
@ -81,10 +81,10 @@ RUN apk -U upgrade \
|
||||
# Ensure www-data user exists
|
||||
|
||||
RUN adduser -S www-data -u 1000
|
||||
|
||||
RUN set -x \
|
||||
&& addgroup -g 82 -S www-data \
|
||||
&& adduser -u 82 -D -S -G www-data www-data
|
||||
|
||||
RUN set -x ; \
|
||||
addgroup -g 82 -S www-data ; \
|
||||
adduser -u 82 -D -S -G www-data www-data && exit 0 ; exit 1
|
||||
|
||||
RUN apk --no-cache add shadow && usermod -aG www-data nginx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user