|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|