docker/lnd: install dependencies through dep
This commit is contained in:
parent
da5381815e
commit
e4b286fd06
@ -9,8 +9,8 @@ EXPOSE 9735 10009
|
||||
# queries required to connect to linked containers succeed.
|
||||
ENV GODEBUG netdns=cgo
|
||||
|
||||
# Install glide to manage vendor.
|
||||
RUN go get -u github.com/Masterminds/glide
|
||||
# Install dep to manage vendor.
|
||||
RUN go get -u github.com/golang/dep/cmd/dep
|
||||
|
||||
# Grab and install the latest version of lnd and all related dependencies.
|
||||
RUN git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
|
||||
@ -18,8 +18,8 @@ RUN git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lig
|
||||
# Make lnd folder default.
|
||||
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
|
||||
|
||||
# Install dependency and install/build lnd.
|
||||
RUN glide install
|
||||
# Install dependencies and install/build lnd.
|
||||
RUN dep ensure
|
||||
RUN go install . ./cmd/...
|
||||
|
||||
COPY "docker/lnd/start-lnd.sh" .
|
||||
|
Loading…
Reference in New Issue
Block a user