Anton Kaliaev
8 years ago
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with
7 additions and
1 deletions
-
tm-bench/Dockerfile
-
tm-bench/Makefile
|
|
@ -0,0 +1,6 @@ |
|
|
|
FROM alpine:3.5 |
|
|
|
|
|
|
|
WORKDIR /app |
|
|
|
COPY tm-bench /app/tm-bench |
|
|
|
|
|
|
|
ENTRYPOINT ["./tm-bench"] |
|
|
@ -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 |
|
|
|