aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_ruby
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-01-23 04:35:16 -0800
committerGravatar Tim Emiola <temiola@google.com>2015-01-23 04:35:16 -0800
commit09bc379417c7bbc7429d97adb3ab1d5f17d192ce (patch)
treeb405f5ca73e9583d93a73db64b39cc0bc85d27e9 /tools/dockerfile/grpc_ruby
parente9312dda6edd5f44e6f4e16a6157359359a025cc (diff)
Fixes a regression in the ruby dockerfile
- the line that built and installed grpc ruby was mistakenly removed.
Diffstat (limited to 'tools/dockerfile/grpc_ruby')
-rw-r--r--tools/dockerfile/grpc_ruby/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile
index 43ec0183ca..c677ceffff 100644
--- a/tools/dockerfile/grpc_ruby/Dockerfile
+++ b/tools/dockerfile/grpc_ruby/Dockerfile
@@ -9,6 +9,9 @@ RUN cd /var/local/git/grpc \
# Build the C core.
RUN make install_c -C /var/local/git/grpc
+# Install the grpc gem locally with its dependencies and build the extension
+RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake compile:grpc && gem build grpc.gemspec && gem install grpc'
+
# TODO add a command to run the unittest tests when the bug below is fixed
# - the tests fail due to an error in the C threading library:
# they fail with 'ruby: __pthread_mutex_cond_lock_adjust for unknown reasons' at the end of a testcase