Thane Thomson 9c82780742 Add cleveldb build for Amazon Linux (#3976)
* Add cleveldb build for Amazon Linux

In attempting to build Tendermint binaries with cleveldb support that we
can use for load testing (see https://github.com/interchainio/got), it
became apparent that we need a bit of a simpler build process for this
kind of executable. Since we're basing our load testing infrastructure
on Amazon Linux, it makes sense to support such a build process for
Amazon Linux in a platform-independent way.

This PR allows one to simply build the Amazon Linux-compatible binary
using Docker on one's local machine. It first builds an Amazon
Linux-based build image with Go v1.12.9, and then it uses that image to
build the cleveldb version of Tendermint.

This should, in theory, be compatible with CentOS too, but that's yet to
be tested.

* Add comment describing the new Makefile target

* Add missing PHONY entry for new Makefile target

* Expand on Makefile comment
2019-09-11 11:29:27 +02:00
..
2019-01-06 11:40:15 +03:00
2019-06-09 16:27:48 +04:00
2019-01-06 11:40:15 +03:00

Docker

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.