From 19161bd6dee5e0e9296ee0d9b50911dbec56c15a Mon Sep 17 00:00:00 2001 From: deflinhec-iphone Date: Fri, 23 Apr 2021 12:35:14 +0800 Subject: [PATCH] build static library Avoid extra setups --- Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fc011e..5488f0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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}" -