aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_php/Dockerfile
blob: 177587669c6a7532797be70af7cefcfe23134dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Dockerfile for gRPC PHP
FROM grpc/php_base

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