add build into make build-docker (#5253)

## Description

add make build-linux into `make build-docker` it is not documented that the cmd depends on the build folder so this aids in helping the user. 

Closes: #XXX
This commit is contained in:
Marko
2020-08-17 13:59:57 +00:00
committed by GitHub
parent 1f951cdfeb
commit 022b255ed6
4 changed files with 36 additions and 27 deletions
+3 -3
View File
@@ -188,7 +188,7 @@ sync-docs:
### Docker image ###
###############################################################################
build-docker:
build-docker: build-linux
cp $(OUTPUT) DOCKER/tendermint
docker build --label=tendermint --tag="tendermint/tendermint" DOCKER
rm -rf DOCKER/tendermint
@@ -216,8 +216,8 @@ build_c-amazonlinux:
.PHONY: build_c-amazonlinux
# Run a 4-node testnet locally
localnet-start: localnet-stop build-docker-localnode
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/tendermint:Z tendermint/localnode testnet --config /etc/tendermint/config-template.toml --v 4 --o . --populate-persistent-peers --starting-ip-address 192.167.10.2; fi
localnet-start: localnet-stop build-linux
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/tendermint:Z tendermint/localnode testnet --config /etc/tendermint/config-template.toml --o . --starting-ip-address 192.167.10.2; fi
docker-compose up
.PHONY: localnet-start