A lightweight, multi-platform Docker image for the Protocol Buffer Compiler (protoc).
This repository provides a Docker image that packages the Protocol Buffer Compiler (protoc), a tool developed by Google. protoc is integral to the Protocol Buffers framework, which provides a language-neutral, platform-neutral, and extensible mechanism for serializing structured data.
To run protoc using this Docker image, execute the following command:
docker run --rm -v $(pwd):$(pwd) -w $(pwd) yusoltsev/protoc [OPTION] PROTO_FILESReplace [OPTION] and PROTO_FILES with your specific options and Protocol Buffer files. For instance:
docker run --rm -v $(pwd):$(pwd) -w $(pwd) yusoltsev/protoc --python_out=. example.protoFor detailed help and available options, use:
docker run --rm yusoltsev/protoc --helpThis Docker image is accessible across multiple platforms and can be pulled from the following registries:
- Docker Hub:
yusoltsev/protoc - GitHub Container Registry:
ghcr.io/yegor-usoltsev/protoc
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is based on the Protocol Buffer Compiler originally developed by Google. The original source code is available under the Google Protocol Buffers License.