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