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.
|
# queries required to connect to linked containers succeed.
|
||||||
ENV GODEBUG netdns=cgo
|
ENV GODEBUG netdns=cgo
|
||||||
|
|
||||||
# Install glide to manage vendor.
|
# Install dep to manage vendor.
|
||||||
RUN go get -u github.com/Masterminds/glide
|
RUN go get -u github.com/golang/dep/cmd/dep
|
||||||
|
|
||||||
# Grab and install the latest version of lnd and all related dependencies.
|
# 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
|
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.
|
# Make lnd folder default.
|
||||||
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
|
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
|
||||||
|
|
||||||
# Install dependency and install/build lnd.
|
# Install dependencies and install/build lnd.
|
||||||
RUN glide install
|
RUN dep ensure
|
||||||
RUN go install . ./cmd/...
|
RUN go install . ./cmd/...
|
||||||
|
|
||||||
COPY "docker/lnd/start-lnd.sh" .
|
COPY "docker/lnd/start-lnd.sh" .
|
||||||
|
Loading…
Reference in New Issue
Block a user