aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-05-19 16:02:34 -0700
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-05-19 16:02:34 -0700
commit98b4608f15fba464903101cd32d4ee6e40b28cbe (patch)
tree05bd20f91fe9dfafd89916a4b9918df7fa8dcfa1
parent3b40ee425de33a119ab530d987261dbb0c38f45c (diff)
parent79d68d550b8eea6a786726c3f2196b7526bf4b27 (diff)
Merge pull request #1611 from donnadionne/test-log
To allow local private changes to be build into private
-rwxr-xr-xtools/dockerfile/grpc_node/build.sh8
-rwxr-xr-xtools/dockerfile/grpc_ruby/build.sh8
2 files changed, 16 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_node/build.sh b/tools/dockerfile/grpc_node/build.sh
new file mode 100755
index 0000000000..86a681d453
--- /dev/null
+++ b/tools/dockerfile/grpc_node/build.sh
@@ -0,0 +1,8 @@
+#!/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/node && npm install && node-gyp rebuild
diff --git a/tools/dockerfile/grpc_ruby/build.sh b/tools/dockerfile/grpc_ruby/build.sh
new file mode 100755
index 0000000000..ab0267d9a6
--- /dev/null
+++ b/tools/dockerfile/grpc_ruby/build.sh
@@ -0,0 +1,8 @@
+#!/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
+
+/bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && gem update bundler && bundle && rake'