Tiny docker image with protoc 3.
Part of nanoservice docker image library.
# 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
Content type
Image
Digest
Size
36.8 MB
Last updated
over 10 years ago
docker pull byrnedo/docker-protobuf