18 lines
508 B
Docker
18 lines
508 B
Docker
# 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 |