2016-09-30 15:05:02 -04:00
|
|
|
# Docker
|
|
|
|
|
|
|
|
Tendermint uses docker for deployment of testnets via the [mintnet](github.com/tendermint/mintnet) tool.
|
|
|
|
|
|
|
|
For faster development iterations (ie. to avoid docker builds),
|
|
|
|
the dockerfile just sets up the OS, and tendermint is fetched/installed at runtime.
|
|
|
|
|
|
|
|
For the deterministic docker builds used in testing, see the [tests directory](https://github.com/tendermint/tendermint/tree/master/test)
|
|
|
|
|
2015-09-21 19:46:14 +00:00
|
|
|
# Build and run a docker image and container
|
2015-06-10 12:06:28 -04:00
|
|
|
|
2016-09-30 15:05:02 -04:00
|
|
|
These are notes for the dev team.
|
|
|
|
|
2015-09-21 19:46:14 +00:00
|
|
|
```
|
2016-02-04 21:21:13 -08:00
|
|
|
# Build base Docker image
|
|
|
|
# Make sure ./run.sh exists.
|
|
|
|
docker build -t tendermint/tmbase -f Dockerfile .
|
|
|
|
|
|
|
|
# Log into dockerhub
|
|
|
|
docker login
|
2015-06-10 12:06:28 -04:00
|
|
|
|
2016-02-04 21:21:13 -08:00
|
|
|
# Push latest build to dockerhub
|
|
|
|
docker push tendermint/tmbase
|
|
|
|
```
|