mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add build images for node@12
This commit is contained in:
parent
c084e85d26
commit
99881a2a6d
3 changed files with 12 additions and 2 deletions
|
|
@ -77,6 +77,7 @@ function print_node_args() {
|
|||
case "$1" in
|
||||
8.x) NODE_INSTALL_VERSION=8.x ;;
|
||||
10.x) NODE_INSTALL_VERSION=10.x ;;
|
||||
12.x) NODE_INSTALL_VERSION=12.x ;;
|
||||
*) echo "Unknown node version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
||||
|
|
@ -85,6 +86,7 @@ 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 ;;
|
||||
*) echo "Unknown yarn version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg YARN_INSTALL_VERSION=%s " "$YARN_INSTALL_VERSION"
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ rm -rf /tmp/pandoc*
|
|||
apt-get install -yq --no-install-recommends imagemagick
|
||||
|
||||
# Installing node & yarn
|
||||
NODE_INSTALL_VERSION=8.x
|
||||
YARN_INSTALL_VERSION=1.2.1-1
|
||||
NODE_INSTALL_VERSION=12.x
|
||||
YARN_INSTALL_VERSION=1.16.0-1
|
||||
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
|
||||
|
||||
# Installing gitlab-runner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue