aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_node/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/grpc_node/build.sh')
-rwxr-xr-xtools/dockerfile/grpc_node/build.sh8
1 files changed, 8 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