mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Making the latest changes Updating to version 2.0.49
This commit is contained in:
parent
32d405aa80
commit
d8a8162ffd
@ -47,8 +47,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
|
||||
|
||||
USER 1000
|
||||
ENV USER=vscode
|
||||
WORKDIR /home/vscode
|
||||
|
||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
@ -51,7 +51,10 @@ if [ "${HOME_USER-}" ]; then
|
||||
sudo su -l ${HOME_USER}
|
||||
|
||||
# Delete the vscode user
|
||||
sudo userdel vscode
|
||||
sudo userdel -r vscode
|
||||
else
|
||||
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
||||
sudo su -l ${HOME_USER}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2.0.48
|
||||
2.0.49
|
Loading…
Reference in New Issue
Block a user