From c77978a5f5b92a2151394f272fa1358c7d5f9a0a Mon Sep 17 00:00:00 2001 From: zengxs Date: Fri, 22 Nov 2024 19:41:53 +0800 Subject: [PATCH] update --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2142951..13b25c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,9 @@ RUN set -ex \ libpcre3-dev \ zlib1g-dev \ libmodsecurity-dev \ - libgrpc++-dev + libgrpc-dev \ + libgrpc++-dev \ + libprotobuf-dev # install build dependencies for additional dynamic modules RUN set -ex \ @@ -46,6 +48,7 @@ RUN set -ex \ ENV SREGEX_INC=/opt/sregex/include ENV SREGEX_LIB=/opt/sregex/lib +ENV NGX_OTEL_CMAKE_OPTS="-D NGX_OTEL_GRPC=package" # patch all .so file soname use absolute path RUN set -ex \ @@ -135,7 +138,9 @@ RUN set -ex \ libxslt1.1 \ libmaxminddb0 \ libzstd1 \ + libgrpc29 \ libgrpc++1.51 \ + libprotobuf32 \ libmodsecurity3 \ modsecurity-crs \ && rm -rf /var/lib/apt/lists/*