mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Update node and yarn to latest stable
This commit is contained in:
parent
92e85237fc
commit
357f465910
2 changed files with 6 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ function print_node_args() {
|
|||
case "$1" in
|
||||
7.x|7.1) NODE_INSTALL_VERSION=7.x ;;
|
||||
8.x) NODE_INSTALL_VERSION=8.x ;;
|
||||
10.x) NODE_INSTALL_VERSION=10.x ;;
|
||||
*) echo "Unknown node version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
||||
|
|
@ -135,6 +136,7 @@ function print_yarn_args() {
|
|||
case "$1" in
|
||||
1.0) YARN_INSTALL_VERSION=1.0.2-1 ;;
|
||||
1.2) YARN_INSTALL_VERSION=1.2.1-1 ;;
|
||||
1.12) YARN_INSTALL_VERSION=1.12.3-1 ;;
|
||||
*) echo "Unknown yarn version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg YARN_INSTALL_VERSION=%s " "$YARN_INSTALL_VERSION"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue