Buf protobuf generator inside Docker so you don't have to torture maintainers with globally installed dependencies
- Shell 66.5%
- Dockerfile 33.5%
| .idea | ||
| exampleproto | ||
| .env | ||
| buf.gen.yaml | ||
| buf.yaml | ||
| build-and-publish.sh | ||
| build.sh | ||
| Dockerfile | ||
| examplegen.sh | ||
| LICENSE | ||
| README.md | ||
buf-docker
Buf protobuf generator inside Docker so you don't have to torture maintainers with globally installed dependencies.
It includes dependencies for Go codegen by default.
How to Use
Mount your directory as /proto inside the container. Make sure the directory contains your buf.yaml and buf.gen.yaml files, as well as any .proto files you want to feed it.
See examplegen.sh for an example of how to use it.
Versioning
Images are versioned according to the version of Buf used.
For example, git.termer.net/termer/buf-docker:1.54.0 uses Buf v1.54.0.