File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,6 @@ RUN cd /var/local/git/grpc/src/php/ext/grpc \
4646 && ./configure \
4747 && make
4848
49+ RUN cd /var/local/git/grpc/src/php && composer install
50+
4951RUN cd /var/local/git/grpc/src/php && ./bin/run_tests.sh
Original file line number Diff line number Diff line change 3232# Includes PHP installation dependencies, things that are unlikely to vary.
3333FROM grpc/base
3434
35+ RUN echo "deb http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list
36+ RUN echo "deb-src http://packages.dotdeb.org wheezy-php55 all" >> /etc/apt/sources.list.d/dotdeb.list
37+ RUN wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add -
38+
3539# Install RVM dependencies and other packages
3640RUN apt-get update && apt-get install -y \
3741 autoconf \
@@ -64,9 +68,12 @@ RUN apt-get update && apt-get install -y \
6468 sqlite3 \
6569 zlib1g-dev
6670
67- # Install the version of PHP gRPC is tested against
6871ENV DEBIAN_FRONTEND noniteractive
6972
73+ # Install composer
74+ RUN curl -sS https://getcomposer.org/installer | php
75+ RUN mv composer.phar /usr/local/bin/composer
76+
7077# Download the patched PHP protobuf so that PHP gRPC clients can be generated
7178# from proto3 schemas.
7279RUN git clone https://github.com/murgatroid99/Protobuf-PHP.git /var/local/git/protobuf-php
You can’t perform that action at this time.
0 commit comments