Use nvm to manage node while still getting the benefits of using yarn.
592
I like node. I like yarn. I like nvm to manage node while still getting the benefits of using yarn.
This image can be used for many reasons but my primary use case is for building during CI. I use nvm to manage my version of node. I found that I end up setting my node version in multiple places and multiple changes are needed to bump my version of node. This image can be used for CI services like Travis, GitLab, Drone, and many other systems that use docker images during CI.
Be sure that you have a .nvmrc file in the root of your repo. It should look something like this:
.nvmrc
v6.10.0
Content type
Image
Digest
Size
136.6 MB
Last updated
over 9 years ago
docker pull timothystewart6/nvm-yarn