Skip to content

Commit

Permalink
build static library
Browse files Browse the repository at this point in the history
Avoid extra setups
  • Loading branch information
deflinhec committed Apr 23, 2021
1 parent 125e97c commit 19161bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ COPY grpc /tmp/grpc
RUN mkdir -p cmake/build && cd cmake/build && \
cmake -DgRPC_INSTALL=ON \
-DgRPC_BUILD_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
../.. && \
cmake --build . --target install
Expand All @@ -23,7 +22,3 @@ WORKDIR /
RUN rm -rf /tmp/grpc && \
apk del .build-deps

# Setup dependencies
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
ENV LD_LIBRARY_PATH="/usr/local/lib64:${LD_LIBRARY_PATH}"

0 comments on commit 19161bd

Please sign in to comment.