Skip to content
Snippets Groups Projects
Commit d07c17e3 authored by chedeti's avatar chedeti
Browse files

fix Dockerfile

parent a7ee9386
No related branches found
No related tags found
No related merge requests found
...@@ -43,21 +43,25 @@ RUN apt-get update && \ ...@@ -43,21 +43,25 @@ RUN apt-get update && \
cmake \ cmake \
libiberty-dev \ libiberty-dev \
g++ unzip \ g++ unzip \
curl make automake libtool curl make automake libtool libboost-dev
# Configure git # Configure git
RUN git config --global user.name "Jenkins" && \ RUN git config --global user.name "Jenkins" && \
git config --global user.email "jenkins@grpc" git config --global user.email "jenkins@grpc"
# Clone gRPC
RUN git clone https://github.com/grpc/grpc RUN git clone https://github.com/grpc/grpc
# Update Submodules
RUN cd grpc && git submodule update --init RUN cd grpc && git submodule update --init
RUN cd grpc/third_party/thrift && git am --signoff < ../../tools/grift/grpc_plugins_generator.patch # Install protobuf
RUN cd grpc/third_party/protobuf && ./autogen.sh && ./configure && \ RUN cd grpc/third_party/protobuf && ./autogen.sh && ./configure && \
make -j && make check -j && make install && ldconfig make -j && make check -j && make install && ldconfig
# Install gRPC
RUN cd grpc && make -j && make install RUN cd grpc && make -j && make install
RUN cd grpc/third_party/thrift && ./bootstrap.sh && ./configure && make -j && make install # Install thrift
\ No newline at end of file RUN cd grpc/third_party/thrift && git am --signoff < ../../tools/grift/grpc_plugins_generator.patch && \
./bootstrap.sh && ./configure && make -j && make install
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment