Merge pull request #2 from LarryRuane/master

update Dockerfile to clone from v2.0.3 branch
This commit is contained in:
Ian Munoz 2019-02-12 18:10:53 -08:00 committed by GitHub
commit f3b6aaaedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
FROM debian:latest
# Run 'docker build -t zcash-insight-explorer:latest .' from github clone
# docker run -p80:3001 -v $(pwd)/dot-zcash:/home/zcashd/.zcash zcash-insight-explorer
RUN apt-get update \
&& apt-get install -y gnupg2 wget libzmq3-dev git \
@ -24,7 +26,7 @@ WORKDIR /home/zcashd/
RUN git clone https://github.com/zcash-hackworks/zcash-patched-for-explorer.git
WORKDIR /home/zcashd/zcash-patched-for-explorer
RUN git checkout v2.0.2-insight-explorer
RUN git checkout v2.0.3-insight-explorer
RUN zcutil/build.sh -j$(nproc)
RUN zcutil/fetch-params.sh