Compare commits

..

2 Commits

3 changed files with 6 additions and 2 deletions

View File

@ -47,4 +47,8 @@ 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
USER 1000
ENV USER=vscode
WORKDIR /home/vscode
ENTRYPOINT ["/usr/bin/entrypoint.sh"] ENTRYPOINT ["/usr/bin/entrypoint.sh"]

View File

@ -59,7 +59,7 @@ if [ "${HOME_USER-}" ]; then
# Delete the vscode user # Delete the vscode user
if id "vscode" &>/dev/null; then if id "vscode" &>/dev/null; then
sudo chown -R vscode:vscode /home/vscode sudo chown -R vscode:vscode /home/vscode
sudo userdel -r vscode sudo -u root bash -c 'userdel -r vscode'
fi fi
else else
# Switch to the user specified by $HOME_USER and start an interactive shell session. # Switch to the user specified by $HOME_USER and start an interactive shell session.

View File

@ -1 +1 @@
2.0.51 2.0.53