mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix issue in user. updating to version 2.0.29
This commit is contained in:
parent
a9b021cebe
commit
c1acddcc6e
@ -21,6 +21,9 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Change the owner of the .bashrc file to HOME_USER
|
||||||
|
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
|
||||||
|
|
||||||
# Copy environment variables from vscode user to HOME_USER
|
# Copy environment variables from vscode user to HOME_USER
|
||||||
env | grep -v 'HOME_USER' | while read -r line; do
|
env | grep -v 'HOME_USER' | while read -r line; do
|
||||||
sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc"
|
sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc"
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.28
|
2.0.29
|
Loading…
Reference in New Issue
Block a user