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