Skip to content

Commit

Permalink
Makefile improvement (#817)
Browse files Browse the repository at this point in the history
* add docker build command, update protoc version
  • Loading branch information
emmanuelm41 committed Sep 30, 2021
1 parent b4378a5 commit 11068a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ demo:
############################################ Build ############################################

build_proto:
go get -u github.com/golang/protobuf/protoc-gen-go@v1.4.3
go get -u google.golang.org/grpc/cmd/protoc-gen-go-grpc@1.1.0
go get -u github.com/golang/protobuf/protoc-gen-go@v1.5.2
go get -u google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
cd protobuf && sh ./compile_proto.sh

# create the "drand" binary and install it in $GOBIN
Expand Down Expand Up @@ -95,6 +95,8 @@ relay-s3:
drand-relay-s3: relay-s3

build_all: drand drand-client drand-relay-http drand-relay-gossip drand-relay-s3
build_docker:
docker build --build-arg version=`git describe --tags` --build-arg gitCommit=`git rev-parse HEAD` -t drandorg/go-drand:latest .

############################################ Deps ############################################

Expand Down

0 comments on commit 11068a6

Please sign in to comment.