add docker commands to Makefile

This commit is contained in:
Anton Kaliaev
2017-11-09 16:59:09 -05:00
parent 33b51378f2
commit 76bd68f881

View File

@@ -89,4 +89,10 @@ metalinter_test: tools
#--enable=unparam \
#--enable=vet \
.PHONY: all build test fmt get_deps tools protoc install_protoc
build-docker:
docker build -t "tendermint/abci-dev" -f Dockerfile.develop .
run-docker:
docker run -it --rm -v "$PWD:/go/src/github.com/tendermint/abci" -w "/go/src/github.com/tendermint/abci" "tendermint/abci-dev" /bin/bash
.PHONY: all build test fmt get_deps tools protoc install_protoc build-docker run-docker