Skip to content

Commit

Permalink
test: fix p2p test build breakage caused by Debian testing
Browse files Browse the repository at this point in the history
Debian testing caused Docker image build failures:

```
The following packages have unmet dependencies:
 
 libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
 
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
```

It does not appear that we actually need testing, so removing it.
  • Loading branch information
erikgrinaker committed May 11, 2020
1 parent 398000a commit 960c740
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions test/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
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
FROM golang:1.14

# Grab deps (jq, hexdump, xxd, killall)
RUN apt-get update && \
Expand All @@ -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/
Expand Down

0 comments on commit 960c740

Please sign in to comment.