Extended docker bufbuild functionality based on bufbuild/buf docker image
- gRPC-Go
- protoc-gen-doc
- protoc-gen-go
- protoc-gen-grpc-gateway
- protoc-gen-openapiv2
- protoc-gen-go
- protoc-gen-go-grpc
- protoc-gen-validate
- protoc-gen-ts_proto
- protoc-gen-grpc-web
- gRPC-python
- protocolbuffers-python
$ make docker-buf
.
├── api
| └── book
| └── v1
| └── book.proto # .proto file sample
├── docs
| └── generated
| └── template.gotmpl # doc api template
├── .gitignore
├── book.config.swagger.yaml # swagger config file
├── buf.gen.yaml
├── buf.work.yaml
├── buf.yaml
├── Dockerfile
├── docker-compose.yaml
├── License.md
├── Makefile
└── README.md
- Installation: https://docs.buf.build/installation
make buf-build
- To make your editor recognize Buf modules(external library) follow this instructions: https://docs.buf.build/editor-integration
To compile proto files for the application, run the following command (can be run without bufbuild configured locally):
make docker-buf