Sign inSign up

9gag/grpc-php-builder

By 9gag

•Updated over 8 years ago

Docker image for generating PHP gRPC client

Image
0

1.0K

9gag/grpc-php-builder repository overview

⁠gRPC PHP client builder docker image

Docker image for generating PHP gRPC client

⁠General usage

  1. Create a work directory ($WORK_DIR)

  2. Put all the .proto files into the directory

  3. Invoke the builder

    docker run -v $WORK_DIR:/work 9gag/grpc-php-builder
    
  4. PHP clients will be generated at $WORK_DIR/out

⁠Alternative usage

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.

⁠Reference

Tag summary

Content type

Image

Digest

Size

676.3 MB

Last updated

over 8 years ago

docker pull 9gag/grpc-php-builder