Skip to content

Instantly share code, notes, and snippets.

@Billy-
Last active June 14, 2016 14:05
Show Gist options
  • Save Billy-/af15adf04cdd27d8fb7bd101d825d9d7 to your computer and use it in GitHub Desktop.
Save Billy-/af15adf04cdd27d8fb7bd101d825d9d7 to your computer and use it in GitHub Desktop.
FROM centos:7
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash \
&& source /root/.nvm/nvm.sh \
&& nvm install 5.0
FROM centos-node
RUN /bin/bash -c ". root/bashrc && npm install -g sinopia"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment