Anton Kaliaev
ce18332b52
- update golang to 1.7.4 - version as env variable - change DATA_ROOT from /tendermint/data to /tendermint (it's not just data that gets stored in DATA_ROOT; we create data folder on start; as a result we get /tendermint/data/data, which is confusing) - remove noninteractive env vars (do we really need these?) - remove nodejs dep (some apps may require nodejs, but core is not one of them; it was convenient before, but now I believe we ought to remove it because other people who are using java do not want a bloated container with nodejs) - build tendermint inside a container (once again, it was convenient before, but now I am testing kubernetes and I don't want to wait every time TM compiles) |
8 years ago | |
---|---|---|
.. | ||
Dockerfile | update Dockerfile | 8 years ago |
README.md | remove INSTALL dir, add INSTALL.md, update DOCKER | 8 years ago |
Tendermint uses docker for deployment of testnets via the 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
These are notes for the dev team.
# Build base Docker image
# Make sure ./run.sh exists.
docker build -t tendermint/tmbase -f Dockerfile .
# Log into dockerhub
docker login
# Push latest build to dockerhub
docker push tendermint/tmbase