Skip to content

Specify any node version and the container will automatically install it using nvm

License

Notifications You must be signed in to change notification settings

agiledigital-labs/docker-nvm-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker nvm

  • Specify any node version and the container will automatically install it using nvm. For example:
docker run -e NODE_VER='12.14.1' -it nvm bash
  • If no version is specified, will use the current long term support version for node
  • Also installs the latest version of yarn
  • Specify version using an .nvmrc:
docker run -e NODE_VER="$(<.nvmrc)" -it nvm bash

Find on Docker Hub: https://hub.docker.com/r/agiledigital/nvm

About

Specify any node version and the container will automatically install it using nvm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published