This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 15 files changed +45
-0
lines changed
azure-ansible/.devcontainer/library-scripts
azure-bicep/.devcontainer/library-scripts
azure-static-web-apps/.devcontainer/library-scripts
azure-terraform/.devcontainer/library-scripts
codespaces-linux/.devcontainer/library-scripts
dotnet/.devcontainer/library-scripts
go/.devcontainer/library-scripts
javascript-node/.devcontainer/library-scripts
java/.devcontainer/library-scripts
php/.devcontainer/library-scripts
python-3-anaconda/.devcontainer/library-scripts
python-3-miniconda/.devcontainer/library-scripts
python-3/.devcontainer/library-scripts
ruby/.devcontainer/library-scripts
swift/.devcontainer/library-scripts Expand file tree Collapse file tree 15 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ elif [ "${NODE_VERSION}" = "lts" ]; then
100
100
export NODE_VERSION=" lts/*"
101
101
fi
102
102
103
+ # Create a symlink to the installed version for use in Dockerfile PATH statements
104
+ export NVM_SYMLINK_CURRENT=true
105
+
103
106
# Install the specified node version if NVM directory already exists, then exit
104
107
if [ -d " ${NVM_DIR} " ]; then
105
108
echo " NVM already installed."
You can’t perform that action at this time.
0 commit comments