Sign inSign up

pomelott/nvm-node

By pomelott

Updated about 6 years ago

docker image based on slim ubuntu with nvm, node, npm, nrm, yarn for FE work.

Image
1

484

pomelott/nvm-node repository overview

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

Tag summary

Content type

Image

Digest

Size

101.5 MB

Last updated

about 6 years ago

docker pull pomelott/nvm-node