test: use glide with mintnet/netmon

This commit is contained in:
Ethan Buchman
2016-10-12 12:28:34 -04:00
parent f0871e4f5e
commit de0fc87c1c
4 changed files with 28 additions and 42 deletions

View File

@@ -6,6 +6,8 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
jq bsdmainutils vim-common psmisc
# Setup tendermint repo with vendored dependencies
# but without code - docker caching prevents reinstall on code change!
ENV REPO $GOPATH/src/github.com/tendermint/tendermint
WORKDIR $REPO
ADD glide.yaml glide.yaml
@@ -13,6 +15,7 @@ ADD glide.lock glide.lock
ADD Makefile Makefile
RUN make get_vendor_deps
# Now copy in the code
COPY . $REPO
RUN go install ./cmd/tendermint