Assign explicit UID/GID to decidim user

This commit is contained in:
Disassembler 2019-12-18 10:14:14 +01:00
parent 2bd45fea0d
commit 91c413ecbf
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -17,8 +17,8 @@ RUN EOF
gem install passenger --no-document gem install passenger --no-document
# Create OS user # Create OS user
addgroup -S decidim addgroup -S -g 8080 decidim
adduser -S -h /srv/decidim-app -s /sbin/nologin -G decidim -g decidim decidim adduser -S -u 8080 -h /srv/decidim-app -s /sbin/nologin -G decidim -g decidim decidim
# Compile nginx # Compile nginx
# taken from passenger-install-nginx-module # taken from passenger-install-nginx-module