Trying to fix issue. updating to version 2.0.8

This commit is contained in:
Alejandro Lembke Barrientos 2024-02-15 20:18:50 +00:00
parent 762ff44dc8
commit 8e9ef7bfa9
2 changed files with 4 additions and 4 deletions

View File

@ -18,11 +18,11 @@ if [ "${HOME_USER-}" ]; then
if [ "$HOME_USER" != "$(whoami)" ]; then if [ "$HOME_USER" != "$(whoami)" ]; 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
su - $HOME_USER sudo -u $HOME_USER -i
# Unfortunately we cannot change $HOME as we cannot move any bind mounts # Unfortunately we cannot change $HOME as we cannot move any bind mounts
# nor can we bind mount $HOME into a new home as that requires a privileged container. # nor can we bind mount $HOME into a new home as that requires a privileged container.
sudo usermod --login "$DOCKER_USER" vscode sudo usermod --login "$HOME_USER" vscode
sudo groupmod -n "$DOCKER_USER" vscode sudo groupmod -n "$HOME_USER" vscode
sudo sed -i "/vscode/d" /etc/sudoers.d/nopasswd sudo sed -i "/vscode/d" /etc/sudoers.d/nopasswd
sudo cd /home/${HOME_USER} sudo cd /home/${HOME_USER}

View File

@ -1 +1 @@
2.0.7 2.0.8