Skip to content

pcorbel/docker-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

docker-proto

How to use

Where ${proto} is your file.proto

docker run \
-v $(pwd):$(pwd) \
-w $(pwd) pierrecorbel/docker-proto:1.0.1 \
/usr/bin/protoc \
-I/protobuf \
--proto_path=src/main/proto \
--java_out=src/main/java \
--python_out=src/main/python \
--swift_out=src/main/swift \
--doc_out=src/main/json \
--doc_opt=json,${proto%%.proto}.json \
${proto}

About

This is a multistage Docker build to have an All In One Proto compiler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published