Skip to content

Instantly share code, notes, and snippets.

@kbsymanz
Created August 6, 2014 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbsymanz/74a85a81256ffa961bb7 to your computer and use it in GitHub Desktop.
Save kbsymanz/74a85a81256ffa961bb7 to your computer and use it in GitHub Desktop.
Node in Docker
RUN bash -c "curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -" && \
bash -c "echo 'deb https://deb.nodesource.com/node wheezy main' > /etc/apt/sources.list.d/nodesource.list" && \
bash -c "echo 'deb-src https://deb.nodesource.com/node wheezy main' >> /etc/apt/sources.list.d/nodesource.list" && \
apt-get update && apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment