Skip to content

Commit

Permalink
Split the c-ares and grpc installs
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Arias <[email protected]>
  • Loading branch information
Leo Arias authored and lebdron committed Jan 4, 2018
1 parent f141ba7 commit eb90b33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@ RUN git clone https://github.com/gflags/gflags /tmp/gflags; \
cmake --build /tmp/gflags/build --target install -- -j${PARALLELISM}; \
rm -rf /tmp/gflags

# install grpc
# install c-ares
RUN git clone https://github.com/c-ares/c-ares /tmp/c-ares; \
(cd /tmp/c-ares ; git checkout 3be1924221e1326df520f8498d704a5c4c8d0cce); \
cmake -H/tmp/c-ares -B/tmp/c-ares/build; \
cmake --build /tmp/c-ares/build --target install -- -j${PARALLELISM}; \
ldconfig; \
rm -rf /tmp/c-ares; \
git clone https://github.com/grpc/grpc /tmp/grpc; \
rm -rf /tmp/c-ares

# install grpc
RUN git clone https://github.com/grpc/grpc /tmp/grpc; \
(cd /tmp/grpc ; git checkout bfcbad3b86c7912968dc8e64f2121c920dad4dfb); \
(cd /tmp/grpc ; git submodule update --init third_party/benchmark); \
cmake -DgRPC_ZLIB_PROVIDER=package -DgRPC_CARES_PROVIDER=package -DgRPC_SSL_PROVIDER=package \
Expand Down

0 comments on commit eb90b33

Please sign in to comment.