mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 20:08:13 -06:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
67cc921484
|
|||
15de59c6e7
|
|||
7bf78c1935
|
@ -40,6 +40,9 @@ if ! id -u $HOME_USER > /dev/null 2>&1; then
|
|||||||
sudo adduser --disabled-password --gecos "" ${HOME_USER}
|
sudo adduser --disabled-password --gecos "" ${HOME_USER}
|
||||||
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
|
||||||
|
|
||||||
|
# Change the ownership of the .bashrc file
|
||||||
|
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
|
||||||
|
|
||||||
# List all environment variables
|
# List all environment variables
|
||||||
sudo env |
|
sudo env |
|
||||||
|
|
||||||
@ -110,8 +113,8 @@ else
|
|||||||
echo "File extensions.json not found"
|
echo "File extensions.json not found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
|
||||||
else
|
|
||||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}"
|
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}"
|
||||||
|
else
|
||||||
|
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
||||||
fi
|
fi
|
||||||
|
@ -1 +1 @@
|
|||||||
3.0.3
|
3.0.6
|
Reference in New Issue
Block a user