Skip to content

Instantly share code, notes, and snippets.

@carlozamagni
Created January 20, 2017 15:53
Show Gist options
  • Save carlozamagni/54722800f889979797e0cdc2867a941b to your computer and use it in GitHub Desktop.
Save carlozamagni/54722800f889979797e0cdc2867a941b to your computer and use it in GitHub Desktop.
Dockerfile for centos6-node
FROM centos:centos6
RUN yum install -y gcc-c++ make
RUN curl -sL https://rpm.nodesource.com/setup_6.x | bash -
RUN yum -y update && yum -y install nodejs
CMD node -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment