Buf protobuf generator inside Docker so you don't have to torture maintainers with globally installed dependencies
  • Shell 66.5%
  • Dockerfile 33.5%
Find a file
2025-06-05 02:30:47 -04:00
.idea Push working build 2025-06-05 02:30:47 -04:00
exampleproto Push working build 2025-06-05 02:30:47 -04:00
.env Push working build 2025-06-05 02:30:47 -04:00
buf.gen.yaml Push working build 2025-06-05 02:30:47 -04:00
buf.yaml Push working build 2025-06-05 02:30:47 -04:00
build-and-publish.sh Push working build 2025-06-05 02:30:47 -04:00
build.sh Push working build 2025-06-05 02:30:47 -04:00
Dockerfile Push working build 2025-06-05 02:30:47 -04:00
examplegen.sh Push working build 2025-06-05 02:30:47 -04:00
LICENSE Initial commit 2025-06-05 05:38:48 +00:00
README.md Push working build 2025-06-05 02:30:47 -04:00

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.