1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

move from sudo to exec setpriv (#2600)

This commit is contained in:
Kyle Spearrin 2023-01-19 17:11:52 -05:00 committed by GitHub
parent 41d1e48823
commit ae647bbf44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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