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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
All inclusive protoc suite, powered by Docker and Alpine Linux.
google/
)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
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.proto
is embedded in the image and can be included with:
ax = "proto3";
rt "github.com/gogo/protobuf/gogoproto/gogo.proto";
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.