Updates java_base to pull in protobuf

pull/208/head
Tim Emiola 10 years ago
parent 6ed6036e02
commit 7d5b1027ed
  1. 7
      tools/dockerfile/grpc_java_base/Dockerfile

@ -28,6 +28,13 @@ RUN mkdir -p $HOME/.ssh && echo 'Host github.com' > $HOME/.ssh/config
RUN echo " IdentityFile /.ssh/github.rsa" >> $HOME/.ssh/config
RUN echo 'StrictHostKeyChecking no' >> $HOME/.ssh/config
# Get the protobuf source from GitHub and install it
RUN git clone --recursive git@github.com:google/protobuf.git /var/local/git/protobuf
RUN cd /var/local/git/protobuf && \
./autogen.sh && \
./configure --prefix=/usr && \
make -j12 && make check && make install && make clean
# Get the source from GitHub
RUN git clone --recursive git@github.com:google/grpc-java.git /var/local/git/grpc-java

Loading…
Cancel
Save