Sign inSign up

gnhuy91/protobuf

By gnhuy91

•Updated almost 9 years ago

Tiny Protocol Buffers 3 Docker image.

Image
1

10K+

gnhuy91/protobuf repository overview

⁠protobuf

Image Size Docker Stars Docker Pulls

Tiny (7 mb) Protocol Buffers 3 Docker image, powered by Alpine Linux.

⁠Usage

# Print protobuf help message
docker run -it --rm \
    gnhuy91/protobuf --help

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

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

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

almost 9 years ago

docker pull gnhuy91/protobuf