mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
[tm-bench] add Dockerfile
This commit is contained in:
6
tm-bench/Dockerfile
Normal file
6
tm-bench/Dockerfile
Normal file
@@ -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
|
||||
|
Reference in New Issue
Block a user