test: fix p2p test build breakage caused by Debian testing (#4880)

This commit is contained in:
Erik Grinaker
2020-05-26 10:26:09 +02:00
committed by Tess Rinearson
parent 8f4080e0cc
commit ea2d3f4889

View File

@@ -1,8 +1,5 @@
FROM golang:1.13
# Add testing deps for curl
RUN echo 'deb http://httpredir.debian.org/debian testing main non-free contrib' >> /etc/apt/sources.list
# Grab deps (jq, hexdump, xxd, killall)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@@ -28,11 +25,11 @@ RUN make install_abci
RUN make install
RUN tendermint testnet \
--config $REPO/test/docker/config-template.toml \
--node-dir-prefix="mach" \
--v=4 \
--populate-persistent-peers=false \
--o=$REPO/test/p2p/data
--config $REPO/test/docker/config-template.toml \
--node-dir-prefix="mach" \
--v=4 \
--populate-persistent-peers=false \
--o=$REPO/test/p2p/data
# Now copy in the code
# NOTE: this will overwrite whatever is in vendor/