From f7a5094cc34ada65f56a68d64af22ed0028195ae Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 10 Apr 2024 11:38:24 +0000 Subject: [PATCH] Trying to fix issue. Updating to version 2.0.44 --- entrypoint.sh | 7 +++++-- version.txt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 07ee9fa..e9c69eb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,6 +38,9 @@ if [ "${HOME_USER-}" ]; then # Copy the .bashrc file from vscode user to HOME_USER sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc" + + # Changing the property of the directory /home/${HOME_USER}/.vscode + sudo chown -R ${HOME_USER}: /home/${HOME_USER}/.vscode # Changing the HOME_USER in the .bashrc file sudo su - ${HOME_USER} -c 'sudo sed -i "s|/home/vscode|/home/${HOME_USER}|g" ~/.bashrc' @@ -90,7 +93,7 @@ else fi if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then - sudo su - ${HOME_USER} -c "sudo code tunnel --accept-server-license-terms" + sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" else - sudo su - ${HOME_USER} -c "sudo code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}" + sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}" fi diff --git a/version.txt b/version.txt index a54ca18..63cfbb7 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.43 \ No newline at end of file +2.0.44 \ No newline at end of file