Merge pull request #802 from wilmerpaulino/glide-to-dep

build: switch from glide to dep for dependency management
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-03-12 20:30:39 -07:00
commit 24f9b6a342
8 files changed
+489 -330

No files matched your search

+4 -4
View File
@@ -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" .