From 13e642be86171cbdf1a34d6cee38dbef76e346ae Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Mon, 15 Apr 2024 05:06:13 +0000 Subject: [PATCH] Trying to fix issue of .vscode directory. Updating to version 3.0.8 --- entrypoint.sh | 9 +++++++++ version.txt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3d79418..75ebefe 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -62,6 +62,15 @@ if ! id -u $HOME_USER > /dev/null 2>&1; then do echo "export $line" | sudo tee -a /home/${HOME_USER}/.bashrc done + + # Creating .vscode folder if it doesn't exist + if [ ! -d "/home/${HOME_USER}/.vscode" ]; then + sudo mkdir -p /home/${HOME_USER}/.vscode + fi + + # Changing the property of the directory /home/${HOME_USER}/.vscode + sudo chown -R ${HOME_USER}: /home/${HOME_USER}/.vscode + fi # Then execute entrypoint.sh diff --git a/version.txt b/version.txt index 3a8b971..e46454b 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.7 \ No newline at end of file +3.0.8 \ No newline at end of file