mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix issue of running entrypont.sh as root. Updating to version 2.0.57
This commit is contained in:
parent
6519cc3ef9
commit
680e3810b6
@ -17,7 +17,7 @@ eval "$(fixuid -q)"
|
|||||||
|
|
||||||
if [ "${HOME_USER-}" ]; then
|
if [ "${HOME_USER-}" ]; then
|
||||||
USER="$HOME_USER"
|
USER="$HOME_USER"
|
||||||
if [[ "${HOME_USER-}" == "vscode" ]]; then
|
if [[ "${HOME_USER-}" != "vscode" ]]; then
|
||||||
if ! id -u $HOME_USER > /dev/null 2>&1; then
|
if ! id -u $HOME_USER > /dev/null 2>&1; then
|
||||||
sudo adduser --disabled-password --gecos "" ${HOME_USER}
|
sudo adduser --disabled-password --gecos "" ${HOME_USER}
|
||||||
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.56
|
2.0.57
|
Loading…
Reference in New Issue
Block a user