mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add chrome-node-yarn image
This commit is contained in:
parent
bea3b46fb0
commit
87910a326b
2 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ set -xeo pipefail
|
|||
NODE_VERSION=${1:-7.x}
|
||||
YARN_VERSION=${2:-0.27.5-1}
|
||||
|
||||
if [ "$NODE_VERSION" = 8.9.0 ]; then NODE_VERSION=8.x; fi
|
||||
|
||||
# add official debian repos for node and yarn
|
||||
curl -sS -L https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue