Files
tendermint/DOCKER
Alessio Treglia 8c6d1e669f Makefile: parse TENDERMINT_BUILD_OPTIONS (#4738)
Reduce the number of targets and make the buildsystem more
flexible by parsing the TENDERMINT_BUILD_OPTIONS command
line variable (a-la Debian, inspired by dpkg-buildpackage's
DEB_BUILD_OPTIONS), e.g:

 $ make install TENDERMINT_BUILD_OPTIONS='cleveldb'

replaces the old:

 $ make install_c

Options can be mix&match'd, e.g.:

 $ make install TENDERMINT_BUILD_OPTIONS='cleveldb race nostrip'

Three options are available:
- nostrip: don't strip debugging symbols nor DWARF tables.
- cleveldb: use cleveldb as db backend instead of goleveldb;
  it switches on the CGO_ENABLED Go environment variale.
- race: pass -race to go build and enable data race detection.

This changeset is a port of gaia pull request: cosmos/gaia#363.
2020-04-25 20:16:58 +02:00
..
2019-01-06 11:40:15 +03:00
2020-03-21 13:37:49 +00:00
2019-01-06 11:40:15 +03:00
2019-11-25 13:47:38 +04:00

Docker

DockerHub tags for official releases are here. The "latest" tag will always point to the highest version number.

Official releases can be found here.

The Dockerfile for tendermint is not expected to change in the near future. The master file used for all builds can be found here.

Respective versioned files can be found https://raw.githubusercontent.com/tendermint/tendermint/vX.XX.XX/DOCKER/Dockerfile (replace the Xs with the version number).

Quick reference

Tendermint

Tendermint Core is Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine, written in any programming language, and securely replicates it on many machines.

For more background, see the the docs.

To get started developing applications, see the application developers guide.

How to use this image

Start one instance of the Tendermint core with the kvstore app

A quick example of a built-in app and Tendermint core in one container.

docker run -it --rm -v "/tmp:/tendermint" tendermint/tendermint init
docker run -it --rm -v "/tmp:/tendermint" tendermint/tendermint node --proxy_app=kvstore

Local cluster

To run a 4-node network, see the Makefile in the root of the repo and run:

make build-linux
make build-docker-localnode
make localnet-start

Note that this will build and use a different image than the ones provided here.

License

Contributing

Contributions are most welcome! See the contributing file for more information.