mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 11:58:12 -06:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
1e044e4959 | |||
4bcf68cd67 |
@ -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"]
|
||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
@ -1,6 +1,4 @@
|
||||
#!/bin/bash
|
||||
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}
|
||||
[[ -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.2
|
||||
1.0.4
|
Reference in New Issue
Block a user