From 8e8f9bf92944caaeb768e1664a99aad88ca415e2 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Mon, 7 Dec 2015 14:49:42 -0500 Subject: [PATCH] Added a Dockerfile for use with Redhat-related distros --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8c3b0a9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +# build bitcore from source +FROM fedora:latest +MAINTAINER Chris Kleeschulte +RUN dnf -y install git-all 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" +