/docker-protobuf

An all-inclusive protoc Docker image

Primary LanguageDockerfileApache License 2.0Apache-2.0

Protocol Buffers + Docker

A lightweight protoc Docker image. It started out as https://github.com/TheThingsIndustries/docker-protobuf fork, but grew into a stand-alone and simple Dockerfile.

What's included:

Supported languages

  • C++
  • Java
  • Python
  • Objective-C
  • C#
  • JavaScript
  • Ruby
  • Go
  • PHP
  • Dart
  • Swift
  • Web

Usage

$ docker run --rm -u $(sh id -u ${USER}):$(sh id -g ${USER}) -v $(pwd)/go:/build/go -v $(pwd)/openapi:/build/openapi nanxi/protoc:latest