Browse Source

[tm-bench] add Dockerfile

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
31ee29d2f0
No known key found for this signature in database GPG Key ID: 7B6881D965918214
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      tm-bench/Dockerfile
  2. +1
    -1
      tm-bench/Makefile

+ 6
- 0
tm-bench/Dockerfile View File

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

+ 1
- 1
tm-bench/Makefile 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


Loading…
Cancel
Save