Browse Source

tm-monitor: update build-docker Makefile target (#3790)

- build docker needs go111module on
- switch to golang:1.12 to have git available

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
pull/3802/head
Karoly Albert Szabo 5 years ago
committed by Anton Kaliaev
parent
commit
6d96cf4f05
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/tm-monitor/Makefile

+ 1
- 1
tools/tm-monitor/Makefile View File

@ -36,7 +36,7 @@ dist: build-all
build-docker:
rm -f ./tm-monitor
docker run -it --rm -v "$(PWD)/../../:/go/src/github.com/tendermint/tendermint" -w "/go/src/github.com/tendermint/tendermint/tools/tm-monitor" -e "CGO_ENABLED=0" golang:alpine go build -ldflags "-s -w" -o tm-monitor
docker run -it --rm -v "$(PWD)/../../:/go/src/github.com/tendermint/tendermint" -w "/go/src/github.com/tendermint/tendermint/tools/tm-monitor" -e "GO111MODULE=on" -e "CGO_ENABLED=0" golang:1.12 go build -ldflags "-s -w" -o tm-monitor
docker build -t "tendermint/monitor" .
clean:


Loading…
Cancel
Save