Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BigeYoung authored Sep 7, 2020
1 parent 46c9b41 commit d0dcb8d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ RUN apt-get update && apt-get install -y \
WORKDIR /grpc

# install protobuf first, then grpc
RUN git clone --recurse-submodules -b v1.31.0 https://github.com/grpc/grpc && \
cd grpc && \
mkdir -p cmake/build && \
cd cmake/build && \
cmake -DgRPC_INSTALL=ON \
RUN git clone --recurse-submodules -b v1.31.0 https://github.com/grpc/grpc \
&& cd grpc \
&& mkdir -p cmake/build \
&& cd cmake/build \
&& cmake -DgRPC_INSTALL=ON \
-DgRPC_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=$MY_INSTALL_DIR \
../.. && \
make -j && \
make install && \
cd .. && \
../.. \
&& make -j \
&& make install \
&& cd ..

0 comments on commit d0dcb8d

Please sign in to comment.