This is a fork of the awesome project
rvolosatovs/docker-protobuf
An all batteries 🔋 included protoc
Docker image.
- ckaznocha/protoc-gen-lint
- danielvladco/go-proto-gql
- envoyproxy/protoc-gen-validate
- mwitkow/go-proto-validators
- golang/protobuf
- google/protobuf
- grpc-ecosystem/grpc-gateway
- grpc/grpc
- grpc/grpc-go
- grpc/grpc-java (not on
arm64
) - protobuf-c/protobuf-c
- pseudomuto/protoc-gen-doc
- chrusty/protoc-gen-jsonschema
- moul/protoc-gen-gotemplate
- C
- C#
- C++
- Go
- Java / JavaNano (Android)
- PHP
- Python
docker run --rm -v<some-path>:<some-path> -w<some-path> ionos-cloud/protobuf-docker [OPTION] PROTO_FILES
For help try:
docker run --rm ionos-cloud/protobuf-docker --help
Example usage:
docker run --rm -u $(id -u) -v${PWD}:${PWD} -w${PWD} ghcr.io/ionos-cloud/protobuf-docker:latest --proto_path=${PWD} \
--go_out=${PWD} ${PWD}/**/*.proto