The tool to generate gRPC codes by docker.
Issue: grpc/grpc#25725
- See Examples for details.
- Specify
.proto
dir and output dir to docker-compose.yml, and execute following command.
docker-compose up
make build
make push
Key | Default | Description |
---|---|---|
go |
1.16 |
Go Version in the image |
pecl_grpc |
1.37.0 |
PECL::Package::gRPC Version in the image(PECL::Package::gRPC |
php |
7.4 |
PHP Version in the image |
protoc |
3.15.8 |
protoc Version in the image(protocolbuffers/protobuf) |
python |
3.9 |
Python Version in the image |
service |
- | If you build only certain things from docs , golang , php or python , specify when to push . |
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
- 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
NYSL Version 0.9982
See LICENCE