Tiny docker image with protoc 3 and go plugin.
Part of nanoservice docker image library.
# Just print protobuf help message
docker run -it --rm \
nanoservice/protobuf-go --help
# Use current folder for input and output
docker run -it --rm -v $PWD:/src:rw \
nanoservice/protobuf-go --go_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-go --go_out=. *.proto
- Fork it ( https://github.com/nanoservice/docker-protobuf-go/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- waterlink Oleksii Fedorov, creator, maintainer