From 91c413ecbf1cf47c123f7de2c02896029bdf7d67 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 18 Dec 2019 10:14:14 +0100 Subject: [PATCH] Assign explicit UID/GID to decidim user --- lxc-apps/decidim/lxcfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lxc-apps/decidim/lxcfile b/lxc-apps/decidim/lxcfile index 10ad503..3c12b5a 100644 --- a/lxc-apps/decidim/lxcfile +++ b/lxc-apps/decidim/lxcfile @@ -17,8 +17,8 @@ RUN EOF gem install passenger --no-document # Create OS user - addgroup -S decidim - adduser -S -h /srv/decidim-app -s /sbin/nologin -G decidim -g decidim decidim + addgroup -S -g 8080 decidim + adduser -S -u 8080 -h /srv/decidim-app -s /sbin/nologin -G decidim -g decidim decidim # Compile nginx # taken from passenger-install-nginx-module