test/docker: install abci apps first
This commit is contained in:
parent
2037d2631a
commit
749df0536f
|
@ -253,7 +253,7 @@ func (h *Handshaker) ReplayBlocks(appHash []byte, appBlockHeight int, proxyApp p
|
||||||
return h.replayBlocks(proxyApp, appBlockHeight, storeBlockHeight, false)
|
return h.replayBlocks(proxyApp, appBlockHeight, storeBlockHeight, false)
|
||||||
|
|
||||||
} else if appBlockHeight == storeBlockHeight {
|
} else if appBlockHeight == storeBlockHeight {
|
||||||
// we're good!
|
// We're good!
|
||||||
return appHash, h.checkAppHash(appHash)
|
return appHash, h.checkAppHash(appHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,16 @@ RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
jq bsdmainutils vim-common psmisc netcat
|
jq bsdmainutils vim-common psmisc netcat
|
||||||
|
|
||||||
# Setup tendermint repo with vendored dependencies
|
# Setup tendermint repo
|
||||||
# but without code - docker caching prevents reinstall on code change!
|
|
||||||
ENV REPO $GOPATH/src/github.com/tendermint/tendermint
|
ENV REPO $GOPATH/src/github.com/tendermint/tendermint
|
||||||
WORKDIR $REPO
|
WORKDIR $REPO
|
||||||
|
|
||||||
|
# Install the apps
|
||||||
|
ADD scripts/install_abci_apps.sh install_abci_apps.sh
|
||||||
|
RUN bash install_abci_apps.sh
|
||||||
|
|
||||||
|
# Install the vendored dependencies before copying code
|
||||||
|
# docker caching prevents reinstall on code change!
|
||||||
ADD glide.yaml glide.yaml
|
ADD glide.yaml glide.yaml
|
||||||
ADD glide.lock glide.lock
|
ADD glide.lock glide.lock
|
||||||
ADD Makefile Makefile
|
ADD Makefile Makefile
|
||||||
|
@ -19,7 +25,6 @@ RUN make get_vendor_deps
|
||||||
COPY . $REPO
|
COPY . $REPO
|
||||||
|
|
||||||
RUN go install ./cmd/tendermint
|
RUN go install ./cmd/tendermint
|
||||||
RUN bash scripts/install_abci_apps.sh
|
|
||||||
|
|
||||||
# expose the volume for debugging
|
# expose the volume for debugging
|
||||||
VOLUME $REPO
|
VOLUME $REPO
|
||||||
|
|
Loading…
Reference in New Issue