mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
508 B
18 lines
508 B
10 years ago
|
# Dockerfile for gRPC PHP
|
||
|
FROM grpc/php_base
|
||
|
|
||
|
# Start the daemon that allows access to the protected git-on-borg repos
|
||
|
RUN /var/local/git/gcompute-tools/git-cookie-authdaemon
|
||
|
|
||
|
RUN cd /var/local/git/grpc \
|
||
|
&& git pull --recurse-submodules \
|
||
|
&& git submodule update --init --recursive
|
||
|
|
||
|
RUN make install_c -j12 -C /var/local/git/grpc
|
||
|
|
||
|
RUN cd /var/local/git/grpc/src/php/ext/grpc && git pull && phpize
|
||
|
|
||
|
# Build the grpc PHP extension
|
||
|
RUN cd /var/local/git/grpc/src/php/ext/grpc \
|
||
|
&& ./configure \
|
||
|
&& make
|