2015-09-21 12:46:14 -07:00
|
|
|
# Build and run a docker image and container
|
2015-06-10 09:06:28 -07:00
|
|
|
|
2015-09-21 12:46:14 -07: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 09:06:28 -07:00
|
|
|
|
2016-02-04 21:21:13 -08:00
|
|
|
# Push latest build to dockerhub
|
|
|
|
docker push tendermint/tmbase
|
|
|
|
```
|