From 3dc1c03a0f6b0dcc98a87c1790b5e00bbf26ef7a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Sun, 27 Aug 2023 00:29:06 +0000 Subject: [PATCH] Trying to fix entrypoint.sh Updating to version 1.0.12 --- entrypoint.sh | 6 ++---- version.txt | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 409dcd0..e45afa5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,10 +7,8 @@ addgroup nonroot adduser --disabled-password --gecos "" ${HOME_USER} echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers -su - ${HOME_USER} - if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then - code tunnel --accept-server-license-terms + sudo su - ${HOME_USER} && code tunnel --accept-server-license-terms else - code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME} + sudo su - ${HOME_USER} && code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME} fi diff --git a/version.txt b/version.txt index 8684498..492b167 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.11 \ No newline at end of file +1.0.12 \ No newline at end of file