slok / docker-protobuf-py3

Docker protobuf-py3 image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protobuff-py3 Docker image

This image runs the protbuffer for python3. Very handy if you don't want to compile by hand to generate your xxxxx_pb2.py file:

Example (our proto file[test.proto] is in /tmp):

docker run --rm -v /tmp:/tmp slok/protobuf-py3:1.0 -I=/tmp --python_out=/tmp /tmp/test.proto

About

Docker protobuf-py3 image