mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Merge branch 'fix-yarn-dependency' into 'master'
Fix yarn installation Closes #7 See merge request !24
This commit is contained in:
commit
c2013e7fc5
1 changed files with 6 additions and 3 deletions
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
set -xeo pipefail
|
||||
|
||||
curl --silent --location https://deb.nodesource.com/setup_7.x | bash -
|
||||
apt-get install -y nodejs
|
||||
# add official debian repos for node and yarn
|
||||
curl -sS -L https://deb.nodesource.com/setup_7.x | bash -
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
apt-get update
|
||||
apt-get install -y nodejs yarn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue