Sign inSign up

calico/protoc

By calico

•Updated about 8 years ago

Google's protobuf compiler, protoc, including the gogo plugin. Based on image by nanoservice.

Image
1

100K+

calico/protoc repository overview

⁠protobuf 3 docker

on docker hub⁠

Docker image with protoc 3 and gogo plugin. Based on the work by nanoservice.

⁠Usage

# Just print protobuf help message
docker run -it --rm \
  calico/protoc --help

# Use current folder for input and output
docker run -it --rm -v $PWD:/src:rw \
  calico/protoc --cpp_out=. *.proto

# If you ran into problems with user uid and gid (consider scripting it)
docker run -it --rm -v $PWD:/user-src:rw -u $(id -u):$(id -g) -w /user-src \
  calico/protoc --cpp_out=. *.proto

⁠Contributors

  • Tigera (added gogo)
  • Based on the work by waterlink⁠ Oleksii Fedorov, creator, maintainer

Tag summary

Content type

Image

Digest

Size

367.9 MB

Last updated

about 8 years ago

docker pull calico/protoc