Compare commits

..

3 Commits
1.0.2 ... 1.0.5

3 changed files with 5 additions and 7 deletions

View File

@ -33,4 +33,4 @@ RUN sudo sysctl -w fs.inotify.max_user_watches=524288
ADD ./entrypoint.sh /usr/bin/entrypoint.sh ADD ./entrypoint.sh /usr/bin/entrypoint.sh
RUN sudo chmod +x /usr/bin/entrypoint.sh RUN sudo chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["bash", "/usr/bin/entrypoint.sh"] ENTRYPOINT ["/usr/bin/entrypoint.sh"]

View File

@ -1,6 +1,4 @@
#!/bin/bash #!/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 && su vscode) \
echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers \ || (adduser --disabled-password --gecos "" ${HOME_USER} && echo '${HOME_USER} ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && su ${HOME_USER})
|| adduser --disabled-password --gecos "" ${HOME_USER} \ [[ -z "${VSCODE_TUNNEL_NAME}" ]] && code tunnel --accept-server-license-terms || code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}
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}

View File

@ -1 +1 @@
1.0.2 1.0.5