From e35e92e44cf8dbfb877d1923686d2bf333d95895 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Wed, 11 May 2022 13:28:45 -0700 Subject: node: support latest as version option (#5) --- collection/node/install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'collection') 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 -- cgit v1.2.3