mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 23:46:58 +00:00
chore(nix/docker/aio): clean up
This commit is contained in:
@@ -48,11 +48,18 @@ writeShellApplication {
|
||||
|
||||
# setup users & groups
|
||||
${dockerTools.shadowSetup}
|
||||
for ident in s6log postgresql nocodb; do
|
||||
for ident in s6log postgres nocodb; do
|
||||
groupadd -r "$ident"
|
||||
useradd -r -g "$ident" "$ident"
|
||||
done
|
||||
|
||||
# required for s6-envuidgid
|
||||
cat <<- EOF > /etc/nsswitch.conf
|
||||
passwd: files
|
||||
group: files
|
||||
shadow: files
|
||||
EOF
|
||||
|
||||
# exec into s6-linux-init
|
||||
exec ${basedir}/bin/init
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user