From 374d13fe6c6027f2938302c63acad4fb1324407b Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Sat, 6 Apr 2024 01:58:10 +0000 Subject: [PATCH] Trying to fix. updating to version 2.0.21 --- entrypoint.sh | 4 ++-- version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index de32a4f..210b0ec 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,7 +16,7 @@ eval "$(fixuid -q)" if [ "${HOME_USER-}" ]; then USER="$HOME_USER" if [ "$HOME_USER" != "$(whoami)" ]; then - if ! id -u $HOME_USER > /dev/null 2>&1; then + # if ! id -u $HOME_USER > /dev/null 2>&1; then # Create a user with the same UID as the host 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 @@ -37,7 +37,7 @@ if [ "${HOME_USER-}" ]; then sudo usermod -d /home/${HOME_USER} vscode su - ${HOME_USER} - fi + # fi # Copy environment variables from vscode user to HOME_USER env | grep -v 'HOME_USER' | while read -r line; do sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc" diff --git a/version.txt b/version.txt index a30e84f..eb4d1bc 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.20 \ No newline at end of file +2.0.21 \ No newline at end of file