github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/test/docker/Dockerfile (about) 1 FROM golang:1.13 2 3 # Grab deps (jq, hexdump, xxd, killall) 4 RUN apt-get update && \ 5 apt-get install -y --no-install-recommends \ 6 jq bsdmainutils vim-common psmisc netcat curl 7 8 # Setup tendermint repo 9 ENV REPO $GOPATH/src/github.com/tendermint/tendermint 10 ENV GOBIN $GOPATH/bin 11 WORKDIR $REPO 12 13 # Copy in the code 14 # TODO: rewrite to only copy Makefile & other files? 15 COPY . $REPO 16 17 # Install the vendored dependencies 18 # docker caching prevents reinstall on code change! 19 RUN make tools 20 21 # install ABCI CLI 22 RUN make install_abci 23 24 # install Tendermint 25 RUN make install 26 27 RUN tendermint testnet \ 28 --config $REPO/test/docker/config-template.toml \ 29 --node-dir-prefix="mach" \ 30 --v=4 \ 31 --populate-persistent-peers=false \ 32 --o=$REPO/test/p2p/data 33 34 # Now copy in the code 35 # NOTE: this will overwrite whatever is in vendor/ 36 COPY . $REPO 37 38 # expose the volume for debugging 39 VOLUME $REPO 40 41 EXPOSE 26656 42 EXPOSE 26657