mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
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:
committed by
Anton Kaliaev
parent
9293ae76bf
commit
6270ecef8c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user