Coder Social home page Coder Social logo

nodejs's People

Contributors

adam-beck avatar brownman avatar pilwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodejs's Issues

Check SHAs

This dockerfile should check the shasum of the Node tar, especially since Node downloads are only available over HTTP. This also means checking the SHA signatures.

Theoretically, all this should be done anyway for the super paranoid that don't trust the CA system.

Doesnt work with Boot2Docker and latest node

Unfortunately this does not work at all with the newer version of Docker for mac/windows and boot2docker.iso as it uses the AUFS file system. The issue happens to deal with the way the fs.rename call is implemented... or something like that. The fix seems to be some how forcing a different storage option but I cant seem to do that on Mac with Boot2Docker.

npm ERR! Linux 4.1.13-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "npm" "--prefix=/usr/local"
npm ERR! node v5.4.1
npm ERR! npm v3.3.12
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! code EXDEV
npm ERR! errno -18
npm ERR! syscall rename

npm ERR! EXDEV: cross-device link not permitted, rename '/usr/local/lib/node_modules/npm' -> '/usr/local/lib/node_modules/.npm.DELETE'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log

Docker file is not idempotent

The docker file downloads "latest" from node repository. This can change overtime, but the hash won't change. This means that your outcome will be dependent on the state of your cache and when you run the command. The node version would ideally be included in that RUN command.

Speed up nodejs installation

Hi,
I've created a pull request (#7) to speed up the installation of nodejs.
It uses apt-get to install npm which allows us to install n in roder to be able to have nodejs-latest already compiled.

Also, it depends on dockerfile/ubuntu instead of dockerfile/python (why do you need python?)
It also has an ENV variable that allows you to select which nodejs version you want to install.

I've seen that in #3 someone suggest to use tagging, which I still have to investigate, but seems a pretty way to specify what version of node to install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.