Sign inSign up

nanoservice/protobuf

By nanoservice

•Updated about 11 years ago

Tiny docker image with protoc 3. Part of nanoservice: https://github.com/nanoservice

Image
1

10K+

nanoservice/protobuf repository overview

⁠protobuf 3 docker

on docker hub⁠

Tiny docker image with protoc 3.

Part of nanoservice docker image library.

⁠Usage

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

# Use current folder for input and output
docker run -it --rm -v $PWD:/src:rw \
  nanoservice/protobuf --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 \
  nanoservice/protobuf --cpp_out=. *.proto

⁠Contributing

  1. Fork it ( https://github.com/nanoservice/docker-protobuf/fork⁠ )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

⁠Contributors

Tag summary

Content type

Image

Digest

sha256:da6a489d1…

Size

37.1 MB

Last updated

about 11 years ago

docker pull nanoservice/protobuf