librato/docker-protobuf

Name: docker-protobuf

Owner: Librato

Description: All inclusive Protocol Buffer and gRPC suite, powered by Docker and Alpine

Forked from: znly/docker-protobuf

Created: 2017-08-07 16:09:31.0

Updated: 2018-05-14 23:23:25.0

Pushed: 2017-07-25 11:01:39.0

Homepage: https://hub.docker.com/r/znly/protoc/

Size: 552

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Protocol Buffers + Docker

All inclusive protoc suite, powered by Docker and Alpine Linux.

What's included:
Supported languages
Usage
cker run --rm znly/protoc --help
e: /usr/bin/protoc [OPTION] PROTO_FILES

Don't forget you need to bind mount your files:

cker run --rm -v $(pwd):$(pwd) -w $(pwd) znly/protoc --python_out=. -I. myfile.proto
Google Well Known Types

They are embedded in the image and are included by protoc automatically. They accessible via google/protobuf/:

ax = "proto3";

rt "google/protobuf/timestamp.proto";
rt "google/protobuf/duration.proto";
Gogo

gogo.proto is embedded in the image and can be included with:

ax = "proto3";

rt "github.com/gogo/protobuf/gogoproto/gogo.proto";
Image Size

The current image is about ~130mb and one layer. Most the space is spent on Go tools. All the binaries are UPX'ed. Including the Swift stdlib.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.