Merge pull request #1773 from donnadionne/test-log

Adding 2 helper build scripts to allow docker images to be built
pull/1839/head
Stanley Cheung 10 years ago
commit 5e9757bf0f
  1. 10
      tools/dockerfile/grpc_csharp_mono/build.sh
  2. 18
      tools/dockerfile/grpc_php/build.sh

@ -0,0 +1,10 @@
#!/bin/bash
cp -R /var/local/git-clone/grpc /var/local/git
make install_grpc_csharp_ext -j12 -C /var/local/git/grpc
cd /var/local/git/grpc/src/csharp && mono /var/local/NuGet.exe restore Grpc.sln
cd /var/local/git/grpc/src/csharp && xbuild Grpc.sln

@ -0,0 +1,18 @@
#!/bin/bash
cp -R /var/local/git-clone/grpc /var/local/git
make clean -C /var/local/git/grpc
make install_c -j12 -C /var/local/git/grpc
cd /var/local/git/grpc/src/php/ext/grpc && git pull && phpize
cd /var/local/git/grpc/src/php/ext/grpc \
&& ./configure \
&& make
cd /var/local/git/grpc/src/php && composer install
cd /var/local/git/grpc/src/php && protoc-gen-php -i tests/interop/ -o tests/interop/ tests/interop/test.proto
Loading…
Cancel
Save