Skip to content

projectcalico/docker-protobuf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tiny docker image with protoc 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published