aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-05-01 14:19:13 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-05-01 14:19:13 -0700
commit8ade472c57a7519e5396ecfc938c08d980500c2e (patch)
tree908f2cc9eaa33d786ed78cbf10fdc87fcc495ecd /tools/dockerfile
parent6f0812cd5d77d33e43be635dca59e0edbb56988f (diff)
add instruction to add cacerts/roots.pem to grpc/php docker image in gce_setup
Diffstat (limited to 'tools/dockerfile')
-rw-r--r--tools/dockerfile/grpc_php/Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/dockerfile/grpc_php/Dockerfile b/tools/dockerfile/grpc_php/Dockerfile
index 770d0d2627..1e8e1389d9 100644
--- a/tools/dockerfile/grpc_php/Dockerfile
+++ b/tools/dockerfile/grpc_php/Dockerfile
@@ -48,6 +48,13 @@ RUN cd /var/local/git/grpc/src/php/ext/grpc \
RUN cd /var/local/git/grpc/src/php && composer install
+# Add a cacerts directory containing the Google root pem file, allowing the
+# php client to access the production test instance
+ADD cacerts cacerts
+
+# Add a service_account directory containing the auth creds file
+ADD service_account service_account
+
RUN cd /var/local/git/grpc/src/php && protoc-gen-php -i tests/interop/ -o tests/interop/ tests/interop/test.proto
-RUN cd /var/local/git/grpc/src/php && ./bin/run_tests.sh \ No newline at end of file
+RUN cd /var/local/git/grpc/src/php && ./bin/run_tests.sh