Skip to content

StevenACoffman/docker-buf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 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 protoc-gen-connect-es
TypeScript protoc-gen-es NA protoc-gen-connect-es
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 protoc-gen-connect-es

Versions

Tool Version
buf v1.40.1
protoc v29.3
protoc-gen-go v1.36.3
protoc-gen-js v3.21.4
protoplugin v2.2.3
protoc-gen-es v2.2.3
grpc v1.69.0
protoc-gen-go-grpc v1.5.1
grpc-java v1.69.1
grpc-tools v1.12.4
grpc-web v1.5.0
protoc-gen-connect-go v1.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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 87.7%
  • Makefile 12.3%