• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:php

5 [gRPC PECL extension](http://pecl.php.net/package/grpc) against various
6 different PHP environments.
9 ## Build and Run Tests
14 To build all docker images:
16 $ ./src/php/bin/build_all_docker_images.sh
19 Or to only build some selected images
21 $ ./src/php/bin/build_all_docker_images.sh grpc-ext php-src
24 Or to only print out individual `docker build` commands
26 $ ./src/php/bin/build_all_docker_images.sh --cmds
31 $ ./src/php/bin/run_all_docker_images.sh
36 $ ./src/php/bin/run_all_docker_images.sh grpc-ext php-src
41 $ ./src/php/bin/run_all_docker_images.sh --cmds
44 ## Build and Run Specified Image
45 ### `grpc-ext`
47 release candidate), installs it against the current PHP version, and runs the
50 Build `grpc-ext` docker image:
53 $ docker build -t grpc-php/grpc-ext -f ./src/php/docker/grpc-ext/Dockerfile .
58 $ docker run -it --rm grpc-php/grpc-ext
61 ### `grpc-src`
66 against the current PHP version.
69 configure options, like `--enable-tests`, which allows some additional unit
72 Build `grpc-src` docker image:
75 $ docker build -t grpc-php/grpc-src -f ./src/php/docker/grpc-src/Dockerfile .
80 $ docker run -it --rm grpc-php/grpc-src
85 This image builds the `grpc` extension against the current PHP version in an
86 Alpine-Linux base image.
88 Build `alpine` docker image:
91 $ docker build -t grpc-php/alpine -f ./src/php/docker/alpine/Dockerfile .
96 $ docker run -it --rm grpc-php/alpine
100 …The default version of gcc in centos7 is gcc-4.8.5. Run `scl enable devtoolset-7 bash` command to …
102 Build `centos7` docker image:
105 $ docker build -t grpc-gcc7/centos -f ./src/php/docker/centos7/Dockerfile .
110 $ docker run -it --rm grpc-gcc7/centos
113 ### `php-src`
115 Instead of using a general purpose base docker image provided by PHP, here we
116 compile PHP itself from
117 [source](https://github.com/php/php-src). This will allow us to change some
118 `configure` options, like `--enable-debug`. Then we proceed to build the full
121 Build `php-src` docker image:
124 $ docker build -t grpc-php/php-src -f ./src/php/docker/php-src/Dockerfile .
129 $ docker run -it --rm grpc-php/php-src
132 ### `php-zts`
134 This image builds the `grpc` extension against the current PHP version with ZTS
137 Build `php-zts` docker image:
140 $ docker build -t grpc-php/php-zts -f ./src/php/docker/php-zts/Dockerfile .
145 $ docker run -it --rm grpc-php/php-zts
148 ### `php-future`
150 This image builds the `grpc` extension against the next future PHP version
153 Build `php-future` docker image:
156 $ docker build -t grpc-php/php-future -f ./src/php/docker/php-future/Dockerfile .
161 $ docker run -it --rm grpc-php/php-future
165 NOTE: PHP 5.x has reached the end-of-life state and is no longer supported.
168 ### `fork-support`
173 Build `grpc-ext` docker image:
176 $ docker build -t grpc-php/fork-support -f ./src/php/docker/fork-support/Dockerfile .
181 $ docker run -it --rm grpc-php/fork-support