Created
July 12, 2018 18:48
Revisions
-
Leonid Makarov created this gist
Jul 12, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ ENV \ NVM_VERSION=0.33.11 \ NODE_VERSION=8.11.3 \ YARN_VERSION=1.8.0 # Don't use -x here - node/nvm print just too much stuff RUN set -e; \ # NVM and a defaut Node.js version export PROFILE="$HOME/.profile"; \ curl -fsSL https://raw.githubusercontent.com/creationix/nvm/v${NVM_VERSION}/install.sh | bash; \ # Reload profile to load nvm (needed by Yarn installation below) . $HOME/.profile; \ # Yarn export YARN_PROFILE="$HOME/.profile"; \ curl -fsSL https://yarnpkg.com/install.sh | bash -s -- --version ${YARN_VERSION}