mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 10:32:56 +01:00
Use npm repo instead of apt on Yarn install
Co-authored-by: Lukas 'Eipi' Eipert <leipert@gitlab.com> Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
351ef2e34a
commit
e29a606bbc
4 changed files with 10 additions and 11 deletions
|
|
@ -133,10 +133,10 @@ function print_node_args() {
|
|||
|
||||
function print_yarn_args() {
|
||||
case "$1" in
|
||||
1.12) YARN_INSTALL_VERSION=1.12.3-1 ;;
|
||||
1.16) YARN_INSTALL_VERSION=1.16.0-1 ;;
|
||||
1.21) YARN_INSTALL_VERSION=1.21.1-1 ;;
|
||||
1.22) YARN_INSTALL_VERSION=1.22.5-1 ;;
|
||||
1.12) YARN_INSTALL_VERSION=1.12.3 ;;
|
||||
1.16) YARN_INSTALL_VERSION=1.16.0 ;;
|
||||
1.21) YARN_INSTALL_VERSION=1.21.1 ;;
|
||||
1.22) YARN_INSTALL_VERSION=1.22.10 ;;
|
||||
*) 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