[tm-bench] add Dockerfile

This commit is contained in:
Anton Kaliaev
2017-03-22 15:52:59 +04:00
parent 06e5b8c2df
commit 31ee29d2f0
2 changed files with 7 additions and 1 deletions

6
tm-bench/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM alpine:3.5
WORKDIR /app
COPY tm-bench /app/tm-bench
ENTRYPOINT ["./tm-bench"]

View File

@@ -38,7 +38,7 @@ dist: build-all
build-docker:
rm -f ./tm-bench
docker run -it --rm -v "$(PWD):/go/src/app" -w "/go/src/app" -e "CGO_ENABLED=0" golang:alpine go build -ldflags "-X main.version=${VERSION}" -o tm-bench
docker build -t "tendermint/monitor" .
docker build -t "tendermint/bench" .
clean:
rm -f ./tm-bench