Switch to dep from glide for dependency management (#1243)

* Switch to dep from glide for dependency management

* Update CI dockerfile to use dep instead of glide

* Wrong file extension

* Run 'dep ensure' after copying code

* Install glide to handle abci dependencies in testing

* Use `dep ensure -vendor-only` to setup vendor directory before installing source code on ci
This commit is contained in:
Zaki Manian
2018-02-27 03:59:50 -08:00
committed by Anton Kaliaev
parent 9293ae76bf
commit 6270ecef8c
4 changed files with 484 additions and 5 deletions

View File

@@ -14,8 +14,8 @@ WORKDIR $REPO
# Install the vendored dependencies before copying code
# docker caching prevents reinstall on code change!
ADD glide.yaml glide.yaml
ADD glide.lock glide.lock
ADD Gopkg.toml Gopkg.toml
ADD Gopkg.lock Gopkg.lock
ADD Makefile Makefile
RUN make get_tools
RUN make get_vendor_deps
@@ -27,6 +27,7 @@ RUN bash scripts/install_abci_apps.sh
# Now copy in the code
COPY . $REPO
RUN go install ./cmd/tendermint
# expose the volume for debugging