Sign inSign up

mythrnr/protobuf-compiler

By mythrnr

•Updated about 5 years ago

The tool to generate gRPC codes by Docker.

Image
0

3.5K

mythrnr/protobuf-compiler repository overview

⁠protobuf-compiler

日本語⁠

The tool to generate gRPC codes by docker.

⁠Status

Build Image for Documenter Build Image for Golang Build Image for PHP Build Image for Python

⁠Usage

docker-compose up

⁠Building Images

⁠Build and Push all images
make build

make push
⁠About Makefile options
KeyDefaultDescription
go1.16Go Version in the image
pecl_grpc1.36.0PECL::Package::gRPC Version in the image(PECL::Package::gRPC⁠
php7.4PHP Version in the image
protoc3.15.6protoc Version in the image(protocolbuffers/protobuf⁠)
python3.9Python Version in the image
service-If you build only certain things from docs , golang , php or python, specify when to push.

⚠️ Because PHP5 series is no longer supported, the version of pecl_grpc must be up to 1.33.1 to be able to build.

make build go=1.13 protoc=3.12
⁠Specify target to build
  • If you build a specific image, you should also specify it at push time.
make golang go=1.16

# Good
make push service=golang go=1.16

# Not work
make push

⁠License

NYSL Version 0.9982
See LICENCE⁠

Tag summary

Content type

Image

Digest

Size

56.8 MB

Last updated

about 5 years ago

docker pull mythrnr/protobuf-compiler:3.13.0-python-3.9