mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 05:06:46 -06:00
Trying to fix entrypoint.sh Updating to version 1.0.4
This commit is contained in:
parent
4bcf68cd67
commit
1e044e4959
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
[[ -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
|
||||
[[ -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)
|
||||
[[ -z "${VSCODE_TUNNEL_NAME}" ]] && code tunnel --accept-server-license-terms || code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}
|
@ -1 +1 @@
|
||||
1.0.3
|
||||
1.0.4
|
Loading…
Reference in New Issue
Block a user