diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-05-11 23:28:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 23:28:45 +0300 |
commit | e35e92e44cf8dbfb877d1923686d2bf333d95895 (patch) | |
tree | cf6ea7c2e49893e0aaf2aabf26b8e7e389a8bf1c | |
parent | ccaa08a416778453526e554c32b5e80b77797ba6 (diff) |
node: support latest as version option (#5)
-rw-r--r-- | collection/node/install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/collection/node/install.sh b/collection/node/install.sh index c355168..0b2190b 100644 --- a/collection/node/install.sh +++ b/collection/node/install.sh @@ -98,6 +98,8 @@ if [ "${NODE_VERSION}" = "none" ]; then export NODE_VERSION= elif [ "${NODE_VERSION}" = "lts" ]; then export NODE_VERSION="lts/*" +elif [ "${NODE_VERSION}" = "latest" ]; then + export NODE_VERSION="node" fi # Create a symlink to the installed version for use in Dockerfile PATH statements |