blob: 0e50af70a225da3cdcde8869ed29bc238aa31e27 [file] [log] [blame]
Nicolas Nobleddef2462015-01-06 18:08:25 -08001# Dockerfile for gRPC PHP
2FROM grpc/php_base
3
4# Start the daemon that allows access to the protected git-on-borg repos
5RUN /var/local/git/gcompute-tools/git-cookie-authdaemon
6
7RUN cd /var/local/git/grpc \
8 && git pull --recurse-submodules \
9 && git submodule update --init --recursive
10
11RUN make install_c -j12 -C /var/local/git/grpc
12
13RUN cd /var/local/git/grpc/src/php/ext/grpc && git pull && phpize
14
15# Build the grpc PHP extension
16RUN cd /var/local/git/grpc/src/php/ext/grpc \
17 && ./configure \
18 && make