Skip to content
Snippets Groups Projects
Commit e3975e72 authored by yang-g's avatar yang-g
Browse files

Move grpc installation from docker file to script.

parent 42099985
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,13 @@
set -ex
cd $EXTERNAL_GIT_ROOT
git clone https://github.com/grpc/grpc.git
cd grpc && git submodule update --init
cd third_party/protobuf && ./autogen.sh && \
./configure && make -j12 && make check && make install && ldconfig
cd ../.. && make -j12 && make install
cd examples/cpp/helloworld
......
......@@ -42,12 +42,4 @@ RUN apt-get update && apt-get install -y \
pkg-config \
unzip && apt-get clean
RUN git clone https://github.com/grpc/grpc.git
RUN cd grpc && git submodule update --init
RUN cd grpc/third_party/protobuf && ./autogen.sh && \
./configure && make -j12 && make check && make install && ldconfig
RUN cd grpc && make -j12 && make install
CMD ["bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment