- This setup is in the Ubuntu-22.04 environment.
sudo apt install protobuf-compiler -y && \ go install google.golang.org/protobuf/cmd/protoc-gen-go && \ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc && \ export PATH="$PATH:$(go env GOPATH)/bin"
- Run the following command to generate the
*.pb.go
file (Make sure complete section Configuration before run this command)make proto
- Run the following command to build the Docker image
make docker-build && make docker-push