Skip to content

Commit

Permalink
docker: switch to use glide installation
Browse files Browse the repository at this point in the history
In order to make the installation process of the btcd robust we should
use "glide" instead of "go get".
  • Loading branch information
andrewshvv authored and Roasbeef committed Jul 5, 2017
1 parent f39b7aa commit 1cd576e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/btcd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ EXPOSE 28901 28902

# Grab and install the latest version of roasbeef's fork of btcd and all
# related dependencies.
RUN go get -u -v github.com/roasbeef/btcd/...
RUN go get -u github.com/Masterminds/glide

WORKDIR $GOPATH/src/github.com/roasbeef/btcd
RUN git clone https://github.com/roasbeef/btcd .
RUN glide install
RUN go install . ./cmd/...

RUN mkdir "/rpc" "/root/.btcd" "/root/.btcctl"
RUN touch "/root/.btcd/btcd.conf"
Expand Down

0 comments on commit 1cd576e

Please sign in to comment.