mirror of https://github.com/grpc/grpc.git
Merge pull request #146 from tbetbetbe/grpc_tools_update_docker_build_pull_from_github
Grpc tools update docker build pull from GitHubpull/164/head
commit
577fd6db9b
7 changed files with 89 additions and 59 deletions
@ -1,15 +1,18 @@ |
|||||||
# Dockerfile for gRPC C++ |
# Dockerfile for gRPC C++ |
||||||
FROM grpc/base |
FROM grpc/base |
||||||
|
|
||||||
# Start the daemon that allows access to the protected git-on-borg repos |
# Get the source from GitHub |
||||||
RUN /var/local/git/gcompute-tools/git-cookie-authdaemon |
RUN git clone git@github.com:google/grpc.git /var/local/git/grpc |
||||||
|
RUN cd /var/local/git/grpc && \ |
||||||
RUN git clone https://team.googlesource.com/one-platform-grpc-team/grpc /var/local/git/grpc |
git pull --recurse-submodules && \ |
||||||
RUN cd /var/local/git/grpc \ |
git submodule update --init --recursive |
||||||
&& git pull --recurse-submodules \ |
|
||||||
&& git submodule update --init --recursive |
|
||||||
|
|
||||||
|
# Build the protobuf library; then the C core. |
||||||
|
RUN cd /var/local/git/grpc/third_party/protobuf && \ |
||||||
|
./autogen.sh && \ |
||||||
|
./configure --prefix=/usr && \ |
||||||
|
make -j12 && make check && make install && make clean |
||||||
RUN make install -C /var/local/git/grpc |
RUN make install -C /var/local/git/grpc |
||||||
|
|
||||||
# Define the default command. |
# Define the default command. |
||||||
CMD ["bash"] |
CMD ["bash"] |
||||||
|
Loading…
Reference in new issue