mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
move from sudo to exec setpriv (#2600)
This commit is contained in:
parent
41d1e48823
commit
ae647bbf44
@ -214,7 +214,6 @@ RUN apt-get update && apt-get install -y \
|
||||
supervisor \
|
||||
tzdata \
|
||||
unzip \
|
||||
sudo \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create required directories
|
||||
|
@ -99,4 +99,4 @@ chown -R $PUID:$PGID \
|
||||
/var/run/nginx \
|
||||
/run
|
||||
|
||||
sudo -E -u \#$PUID /usr/bin/supervisord
|
||||
exec setpriv --reuid=$PUID --regid=$PGID --init-groups /usr/bin/supervisord
|
Loading…
Reference in New Issue
Block a user