Skip to content

Update Dockerfile with grpc plugin #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Update Dockerfile with grpc plugin #22

merged 1 commit into from
Jul 12, 2024

Conversation

rhwang10
Copy link

Add grpc plugin for those who want to generate grpc clients

@@ -20,6 +20,7 @@ RUN apt-get update && \

RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1 && \
go install github.com/twitchtv/twirp/protoc-gen-twirp@v8.1.3+incompatible && \
go install github.com/github/twirp-ruby/protoc-gen-twirp_ruby@v1.10.0
go install github.com/github/twirp-ruby/protoc-gen-twirp_ruby@v1.10.0 && \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there some documentation for using this grpc?

Copy link
Author

@rhwang10 rhwang10 Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep when we cut a new release of this after merge, anyone using it should be able to use the --go-grpc_out and --go-grpc_opt flags by upgrading to the new release

https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code

@tiabas tiabas merged commit 745b017 into github:main Jul 12, 2024
1 check passed
@rhwang10 rhwang10 deleted the patch-1 branch July 12, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants