diff options
author | Tim Emiola <temiola@google.com> | 2015-02-03 18:42:32 -0800 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-02-04 11:10:41 -0800 |
commit | a6ccffb8a4c72aa3a0d20b0cd95f5135d0e84d14 (patch) | |
tree | a58e354afb1287510b6bb2401defae8ff6a0867e | |
parent | d535bf3bc810e7ef7f3fd7fa651d97f498ad3aa4 (diff) |
Updates the ruby dockerfile to add the service account from the docker context
-rw-r--r-- | tools/dockerfile/grpc_ruby/Dockerfile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile index c84548c880..47972e7eff 100644 --- a/tools/dockerfile/grpc_ruby/Dockerfile +++ b/tools/dockerfile/grpc_ruby/Dockerfile @@ -6,17 +6,19 @@ RUN cd /var/local/git/grpc \ && git pull --recurse-submodules \ && git submodule update --init --recursive -# TODO: remove this, once make install is fixed -RUN touch /var/local/git/grpc/include/grpc/support/string.h - # Build the C core. RUN make install_c -C /var/local/git/grpc # Build ruby gRPC and run its tests RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake' -# Add a cacerts directory containing the Google root pem file, allowing the ruby client to access the production test instance +# Add a cacerts directory containing the Google root pem file, allowing the +# ruby client to access the production test instance ADD cacerts cacerts -# Specify the default command such that the interop server runs on its known testing port +# Add a service_account directory containing the auth creds file +ADD service_account service_account + +# Specify the default command such that the interop server runs on its known +# testing port CMD ["/bin/bash", "-l", "-c", "ruby /var/local/git/grpc/src/ruby/bin/interop/interop_server.rb --use_tls --port 8060"] |