Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higebu/docker-protoc-go
https://github.com/higebu/docker-protoc-go
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/higebu/docker-protoc-go
- Owner: higebu
- Created: 2018-11-29T07:34:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T08:40:51.000Z (about 6 years ago)
- Last Synced: 2024-10-04T19:44:16.636Z (4 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# protoc-go
[higebu/protoc-go](https://hub.docker.com/r/higebu/protoc-go/)
protoc docker image with some plugins.
- github.com/golang/protobuf/protoc-gen-go
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
- github.com/mwitkow/go-proto-validators/protoc-gen-govalidators```
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp higebu/protoc:latest protoc \
--go_out=. --grpc-gateway_out=:. --swagger_out=:. \
-I=.:/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
*.proto
```