From 4bcf68cd6788ff92e8eb1e65bfc7a0baafa961c2 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Fri, 25 Aug 2023 16:55:29 +0000 Subject: [PATCH] Trying to fix entrypoint.sh Updating to version 1.0.3 --- Dockerfile | 2 +- entrypoint.sh | 4 ++-- version.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c41f70f..3e036c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,4 +33,4 @@ RUN sudo sysctl -w fs.inotify.max_user_watches=524288 ADD ./entrypoint.sh /usr/bin/entrypoint.sh RUN sudo chmod +x /usr/bin/entrypoint.sh -ENTRYPOINT ["bash", "/usr/bin/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 5a73ad5..26ebf10 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -exec [[ -z "${HOME_USER}" ]] && adduser --disabled-password --gecos "" vscode \ +[[ -z "${HOME_USER}" ]] && adduser --disabled-password --gecos "" vscode \ echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers \ || adduser --disabled-password --gecos "" ${HOME_USER} \ echo '${HOME_USER} ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers -exec [[ -z "${VSCODE_TUNNEL_NAME}" ]] && code tunnel --accept-server-license-terms || code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME} \ No newline at end of file +[[ -z "${VSCODE_TUNNEL_NAME}" ]] && code tunnel --accept-server-license-terms || code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME} \ No newline at end of file diff --git a/version.txt b/version.txt index e6d5cb8..e4c0d46 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.2 \ No newline at end of file +1.0.3 \ No newline at end of file