Skip to content

Commit

Permalink
Add nginx-otel
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxs committed Nov 22, 2024
1 parent 0d0d2f5 commit fdb26b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
[submodule "modules/naxsi"]
path = modules/naxsi
url = https://github.com/wargio/naxsi.git
[submodule "modules/nginx-otel"]
path = modules/nginx-otel
url = https://github.com/nginxinc/nginx-otel.git
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN set -ex \
&& apt-get install -y --no-install-recommends \
build-essential \
git \
cmake \
automake \
autoconf \
libtool \
Expand All @@ -20,7 +21,8 @@ RUN set -ex \
libssl-dev \
libpcre3-dev \
zlib1g-dev \
libmodsecurity-dev
libmodsecurity-dev \
libgrpc++-dev

# install build dependencies for additional dynamic modules
RUN set -ex \
Expand Down Expand Up @@ -72,6 +74,7 @@ RUN set -ex \
--add-dynamic-module=/usr/src/modules/iconv-nginx-module \
--add-dynamic-module=/usr/src/modules/ModSecurity-nginx \
--add-dynamic-module=/usr/src/modules/naxsi/naxsi_src \
--add-dynamic-module=/usr/src/modules/nginx-otel \
| bash -x \
# build modules
&& make modules -j$(nproc) \
Expand Down Expand Up @@ -132,6 +135,7 @@ RUN set -ex \
libxslt1.1 \
libmaxminddb0 \
libzstd1 \
libgrpc++1.51 \
libmodsecurity3 \
modsecurity-crs \
&& rm -rf /var/lib/apt/lists/*
1 change: 1 addition & 0 deletions modules/nginx-otel
Submodule nginx-otel added at 6c1659

0 comments on commit fdb26b1

Please sign in to comment.