Skip to content

ionos-cloud/protobuf-docker

Repository files navigation

Protocol Buffers + Docker

Release

This is a fork of the awesome project rvolosatovs/docker-protobuf

An all batteries 🔋 included protoc Docker image.

What's included

Supported languages

  • C
  • C#
  • C++
  • Go
  • Java / JavaNano (Android)
  • PHP
  • Python

Usage

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