Docker image for generating PHP gRPC client
1.0K
Docker image for generating PHP gRPC client
Create a work directory ($WORK_DIR)
Put all the .proto files into the directory
Invoke the builder
docker run -v $WORK_DIR:/work 9gag/grpc-php-builder
PHP clients will be generated at $WORK_DIR/out
Take a look at the entrypoint.sh and adapt it to your needs. This image is based on grpc/cxx and only adds the PHP gRPC plugin which is located at /var/local/git/grpc/bins/opt/grpc_php_plugin.
Content type
Image
Digest
Size
676.3 MB
Last updated
over 8 years ago
docker pull 9gag/grpc-php-builder