From 5dbb07fd80fa4cd2a27c45f1cf713f31fa1f996b Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Mon, 15 Apr 2024 06:36:28 +0000 Subject: [PATCH] Trying to fix issue. Updating to version 3.0.10 --- entrypoint.sh | 6 ++++++ version.txt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 976fe04..7b1c1bd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -48,6 +48,9 @@ if [ "$HOME_USER" != "$(whoami)" ]; then # Execute the entrypoint.sh script as the user else + # Change the ownership of the .bashrc file + sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc + # List all environment variables sudo env | @@ -63,6 +66,9 @@ else echo "export $line" | sudo tee -a /home/${HOME_USER}/.bashrc done + # Source the .bashrc file to apply the changes immediately + sudo su -l ${HOME_USER} -c "source ~/.bashrc" + # Creating .vscode folder if it doesn't exist if [ ! -d "/home/${HOME_USER}/.vscode" ]; then sudo mkdir -p /home/${HOME_USER}/.vscode diff --git a/version.txt b/version.txt index 489200c..f1cb5ae 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.9 \ No newline at end of file +3.0.10 \ No newline at end of file