Dockerfile 508 B

123456789101112131415161718
  1. # Dockerfile for gRPC PHP
  2. FROM grpc/php_base
  3. # Start the daemon that allows access to the protected git-on-borg repos
  4. RUN /var/local/git/gcompute-tools/git-cookie-authdaemon
  5. RUN cd /var/local/git/grpc \
  6. && git pull --recurse-submodules \
  7. && git submodule update --init --recursive
  8. RUN make install_c -j12 -C /var/local/git/grpc
  9. RUN cd /var/local/git/grpc/src/php/ext/grpc && git pull && phpize
  10. # Build the grpc PHP extension
  11. RUN cd /var/local/git/grpc/src/php/ext/grpc \
  12. && ./configure \
  13. && make