Simplified Docker image for generating protocol buffer bindings with gRPC support. Based on Alpine with latest protocol buffer (proto3) and gRPC versions.
Supports go, grpc-gateway and swagger
docker run -it -v $PWD:/go/src appcelerator/protoc *.proto
If you want to disable the gRPC support or add other options, you will need to explicitly override
the entrypoint and specify exactly what you want. Ex:
docker run -it -v $PWD:/go/src --entrypoint protoc appcelerator/protoc --go_out=. *.proto
How to generate a swagger file?
I can't find that params form here and your source repository.