Skip to content

A lightweight, multi-platform Docker image for the Protocol Buffer Compiler (protoc)

License

Notifications You must be signed in to change notification settings

yegor-usoltsev/protoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

protoc

Build Status Docker Image (docker.io) Docker Image (ghcr.io) Docker Image Size

A lightweight, multi-platform Docker image for the Protocol Buffer Compiler (protoc).

Overview

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.

Usage

To run protoc using this Docker image, execute the following command:

docker run --rm -v $(pwd):$(pwd) -w $(pwd) yusoltsev/protoc [OPTION] PROTO_FILES

Example

Replace [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.proto

For detailed help and available options, use:

docker run --rm yusoltsev/protoc --help

Docker Images

This Docker image is accessible across multiple platforms and can be pulled from the following registries:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

LICENSE

Acknowledgments

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.

About

A lightweight, multi-platform Docker image for the Protocol Buffer Compiler (protoc)

Topics

Resources

License

Stars

Watchers

Forks

Packages