aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_cxx/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/grpc_cxx/build.sh')
-rwxr-xr-xtools/dockerfile/grpc_cxx/build.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_cxx/build.sh b/tools/dockerfile/grpc_cxx/build.sh
new file mode 100755
index 0000000000..8a9e95ccb8
--- /dev/null
+++ b/tools/dockerfile/grpc_cxx/build.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+rm -rf /var/local/git
+cp -R /var/local/git-clone /var/local/git
+
+cd /var/local/git/grpc/third_party/protobuf && \
+ ./autogen.sh && \
+ ./configure --prefix=/usr && \
+ make -j12 && make check && make install && make clean
+
+cd /var/local/git/grpc && ls \
+ && make clean \
+ && make gens/test/cpp/util/messages.pb.cc \
+ && make interop_client \
+ && make interop_server