WORKDIR /github/grpc

RUN git clone https://github.com/grpc/grpc . && ${'\\'}
  git submodule update --init

COPY src/ ./src

RUN pear package && ${'\\'}
  find . -name grpc-*.tgz | xargs -I{} pecl install {}
