Browse Source

update docker for GOPATH tendermint install

pull/110/head
Ethan Buchman 10 years ago
parent
commit
ab37f2d3b7
2 changed files with 4 additions and 8 deletions
  1. +2
    -6
      DOCKER/docker.sh
  2. +2
    -2
      DOCKER/run.sh

+ 2
- 6
DOCKER/docker.sh View File

@ -2,12 +2,8 @@
# don't build if you're impatient
if [[ ! $NO_BUILD ]]; then
if [ `basename $(pwd)` = DOCKER ]; then
docker build -t mint -f Dockerfile ..
else
# cd $GOPATH/src/github.com/tendermint/tendermint
docker build -t mint -f DOCKER/Dockerfile .
fi
cd $GOPATH/src/github.com/tendermint/tendermint
docker build -t mint -f DOCKER/Dockerfile .
fi
# create the data-only container


+ 2
- 2
DOCKER/run.sh View File

@ -5,8 +5,8 @@ if [[ $BARAK_SEED ]]; then
fi
if [ "$FAST_SYNC" = "true" ]; then
./build/tendermint node --fast_sync
tendermint node --fast_sync
else
./build/tendermint node
tendermint node
fi

Loading…
Cancel
Save