Skip to content
Snippets Groups Projects
Commit c09ee6e3 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

yarn is already installed on docker image 1.2.0

parent e15d84a2
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ test: ...@@ -92,7 +92,7 @@ test:
.build_releases: &build_releases .build_releases: &build_releases
stage: package stage: package
allow_failure: false allow_failure: false
image: duniter/release-builder:v1.0.1 image: duniter/release-builder:v1.2.0
tags: tags:
- redshift-duniter-builder - redshift-duniter-builder
artifacts: artifacts:
......
...@@ -15,14 +15,6 @@ fi ...@@ -15,14 +15,6 @@ fi
# Functions # Functions
# --------- # ---------
# Install yarn, npm equivalent
# -
# Parameters:
install_yarn() {
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
apt-get update && apt-get install yarn
}
# Copy nw.js compiled module released library to node libraries. # Copy nw.js compiled module released library to node libraries.
# - # -
# Parameters: # Parameters:
...@@ -135,7 +127,6 @@ DUNITER_UI_VER="1.6.x" ...@@ -135,7 +127,6 @@ DUNITER_UI_VER="1.6.x"
nvm install ${NVER} || exit 1 nvm install ${NVER} || exit 1
nvm use ${NVER} || exit 1 nvm use ${NVER} || exit 1
install_yarn
yarn global node-pre-gyp || exit 1 yarn global node-pre-gyp || exit 1
yarn global nw-gyp || exit 1 yarn global nw-gyp || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment