Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.84 KB

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