Skip to content

byteartis/docker-buf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Buf

Docker image with support for Protobuf, gRPC, and Connect code generation for multiple languages.

The image includes Buf to facilitate code generation, linting, and breaking changes detection.

Plugins

Language Support Table

Language Protobuf gRPC Connect
Go protoc-gen-go protoc-gen-go-grpc protoc-gen-connect-go
Java protoc protoc-gen-java-grpc NA
C++ protoc protoc-gen-cpp-grpc NA
C# protoc protoc-gen-chsarp-grpc NA
Objective-C protoc protoc-gen-objc-grpc NA
JavaScript protoc-gen-js, protoc-gen-es protoc-gen-node-grpc [Runtime] @connectrpc/connect
TypeScript protoc-gen-es NA [Runtime] @connectrpc/connect
Python protoc protoc-gen-python-grpc NA
Ruby protoc protoc-gen-ruby-grpc NA
PHP protoc protoc-gen-php-grpc NA
Web protoc-gen-es protoc-gen-grpc-web [Runtime] @connectrpc/connect

Versions

Tool Version
buf 1.53.0
protoc 30.2
protoc-gen-go 1.36.6
protoc-gen-js 3.21.4
protoplugin 2.2.5
protoc-gen-es 2.2.5
grpc 1.72.0
protoc-gen-go-grpc 1.5.1
grpc-java 1.72.0
grpc-tools 1.13.0
grpc-web 1.5.0
protoc-gen-connect-go 1.18.1

Example

Check the sample repository here.

Versioning

Since this image contains multiple tools there is no straightforward way to version it. For that reason versioning will be done based on the following rules:

  • Major bump when any of the tools is updated to a new major version
  • Minor bump when any of the tools is updated to a new minor version
  • Patch bump when any of the tools is updated to a new patch version

About

Docker image with support for Protobuf, gRPC, and Connect code generation for multiple languages.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •