Public | Automated Build

Last pushed: 9 months ago
Short Description
Simplified Docker image for generating protocol buffer bindings with gRPC support.
Full Description

protoc

appcelerator/protoc

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

Usage:

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
Docker Pull Command
Owner
appcelerator
Source Repository

Comments (1)
170829561
6 months ago

How to generate a swagger file?

I can't find that params form here and your source repository.
Thank!