mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 20:08:13 -06:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
04e26f2afc
|
|||
dddaf129f4
|
@ -12,6 +12,9 @@ RUN sudo apt-get install -y wget
|
||||
#Instalando jq
|
||||
RUN sudo apt-get install -y jq
|
||||
|
||||
RUN sudo apt-get update
|
||||
RUN sudo apt-get install dumb-init
|
||||
|
||||
RUN adduser --gecos '' --disabled-password vscode \
|
||||
&& echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
||||
|
||||
|
@ -77,9 +77,9 @@ fi
|
||||
|
||||
# Allow users to have scripts run on container startup to prepare workspace.
|
||||
# https://github.com/coder/code-server/issues/5177
|
||||
if [ -d "${ENTRYPOINTD}" ]; then
|
||||
find "${ENTRYPOINTD}" -type f -executable -print -exec {} \;
|
||||
fi
|
||||
#if [ -d "${ENTRYPOINTD}" ]; then
|
||||
#find "${ENTRYPOINTD}" -type f -executable -print -exec {} \;
|
||||
#fi
|
||||
|
||||
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||
exec dumb-init sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms $@"
|
||||
|
@ -1 +1 @@
|
||||
2.0.15
|
||||
2.0.17
|
Reference in New Issue
Block a user