Skip to content

docker image based on slim ubuntu with nvm, [email protected], npm, nrm for FE work.

License

Notifications You must be signed in to change notification settings

pomelott/docker-nvm-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-nvm-node

docker image based on slim ubuntu with nvm, [email protected], npm, nrm for FE work.

  • notice: the based version of node is v10.12.0, you can install another by nvm.

fast use

pull

please notice your network, if there is a bad network, you can build youself by the methods below.

docker pull pomelott/nvm-node:latest

build for yourself

pull the source code from github : https://github.com/pomelott/docker-nvm-node,and welcome to start on github to encourage.

docker build -t nvm-node:local-v1 --no-cache --network=host .
  • notice: whether to add --network=host depends on network condition

run

   docker run -it pomelott/nvm-node /bin/bash

container tools

nvm

  • show node list nvm ls
  • install node for another version nvm install <version>
  • change version nvm use <version>

nrm

  • show registry list nrm ls
  • change registry nrm use taobao

About

docker image based on slim ubuntu with nvm, [email protected], npm, nrm for FE work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published