Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/navono/proto-compiler-docker
Dockerfile for compile proto file
https://github.com/navono/proto-compiler-docker
dockerfile protobuf
Last synced: 11 days ago
JSON representation
Dockerfile for compile proto file
- Host: GitHub
- URL: https://github.com/navono/proto-compiler-docker
- Owner: navono
- License: mit
- Created: 2019-06-06T04:38:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-06T06:06:05.000Z (over 5 years ago)
- Last Synced: 2024-11-17T11:24:15.269Z (2 months ago)
- Topics: dockerfile, protobuf
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proto-compiler-docker
Compile `.proto` files with Docker.## dev
> docker build -t proto-compiler:latest .## Usage
> $ export protoCompiler="proto-compiler:latest"
>
> $ docker run -v $(pwd):/repo $(protoCompiler) \
protoc -Irepo/proto -Irepo/third_party \
--js_out=import_style=commonjs,binary:/repo/out \
--ts_out=service=true:/repo/out \
--go_out=plugins=grpc:/repo/out \
--grpc-gateway_out=logtostderr=true:/repo/out \
--swagger_out=logtostderr=true:/repo/out/swagger \
--lint_out=. \
repo/proto/test.proto## License
MIT