Skip to content

Commit

Permalink
Merge pull request #1375 from kleetus/feature/dockerized
Browse files Browse the repository at this point in the history
Added a Dockerfile for use with Redhat-related distros
  • Loading branch information
braydonf committed Jan 28, 2016
2 parents cb17aa5 + 5c3a53c commit 7a5b812
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# setup a centos image with bitcore binary components
FROM centos:latest
MAINTAINER Chris Kleeschulte <[email protected]>
RUN yum -y install git curl which xz tar findutils
RUN groupadd bitcore
RUN useradd bitcore -m -s /bin/bash -g bitcore
ENV HOME /home/bitcore
USER bitcore
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
RUN /bin/bash -l -c "nvm install v4 && nvm alias default v4"
RUN /bin/bash -l -c "npm install bitcore -g"

0 comments on commit 7a5b812

Please sign in to comment.