docker: switch to use glide installation
In order to make the installation process of the btcd robust we should use "glide" instead of "go get".
This commit is contained in:
parent
f39b7aaaf9
commit
1cd576e93a
@ -16,7 +16,12 @@ EXPOSE 28901 28902
|
|||||||
|
|
||||||
# Grab and install the latest version of roasbeef's fork of btcd and all
|
# Grab and install the latest version of roasbeef's fork of btcd and all
|
||||||
# related dependencies.
|
# 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 mkdir "/rpc" "/root/.btcd" "/root/.btcctl"
|
||||||
RUN touch "/root/.btcd/btcd.conf"
|
RUN touch "/root/.btcd/btcd.conf"
|
||||||
|
Loading…
Reference in New Issue
Block a user