mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Upgrade the default Node.js version from 12.4.0 to 14.16.0
Also node-14 will be changed from 14.15.4 to 14.16.0 as intended, while node-12 will not be changed staying with 12.4.0. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
9ce844b7f4
commit
adc2958921
2 changed files with 4 additions and 3 deletions
|
|
@ -151,8 +151,9 @@ function print_node_args() {
|
|||
8|8.x) NODE_INSTALL_VERSION=8.16.0 ;;
|
||||
10|10.x) NODE_INSTALL_VERSION=10.16.0 ;;
|
||||
12|12.x) NODE_INSTALL_VERSION=12.4.0 ;;
|
||||
12|12.18) NODE_INSTALL_VERSION=12.18.4 ;;
|
||||
14|14.15) NODE_INSTALL_VERSION=14.15.4 ;;
|
||||
12.18) NODE_INSTALL_VERSION=12.18.4 ;;
|
||||
14.15) NODE_INSTALL_VERSION=14.15.4 ;;
|
||||
14|14.16) NODE_INSTALL_VERSION=14.16.0 ;;
|
||||
*) echo "Unknown node version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
set -xeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
NODE_INSTALL_VERSION=${1:-12.4.0}
|
||||
NODE_INSTALL_VERSION=${1:-14.16.0}
|
||||
YARN_INSTALL_VERSION=${2:-1.21.1-1}
|
||||
|
||||
# Map MAJOR.MINOR.patch -> MAJOR.x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue