You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
493 B

9 years ago
9 years ago
9 years ago
  1. #! /bin/bash
  2. # don't build if you're impatient
  3. if [[ ! $NO_BUILD ]]; then
  4. cd $GOPATH/src/github.com/tendermint/tendermint/DOCKER
  5. docker build -t tmbase -f Dockerfile .
  6. fi
  7. # create the data-only container
  8. docker run --name tmdata --entrypoint /bin/echo tmbase Data-only container for tmnode
  9. # run tendermint
  10. docker run name tmnode --volumes-from tmdata -d -p 46656:46656 -p 46657:46657 -e TMCOMMIT="origin/develop" tmbase
  11. # cleanup
  12. # docker rm -v -f tmdata tmnode; docker rmi -f tmbase