Adding dockerfile to repo. Updating the version to 1.0.0

This commit is contained in:
2023-08-25 15:49:32 +00:00
parent 2179962a4d
commit 071d112af7
3 changed files with 43 additions and 0 deletions

6
entrypoint.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
exec [[ -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}