File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG LUAJIT_LIB=/usr/lib
6
6
7
7
# Requirements
8
8
RUN apk add --no-cache ca-certificates build-base patch cmake git mercurial perl libtool autoconf automake \
9
- libatomic_ops-dev zlib-dev luajit-dev pcre-dev pcre2-dev linux-headers yajl-dev libxml2-dev && \
9
+ libatomic_ops-dev zlib-dev luajit-dev pcre-dev linux-headers yajl-dev libxml2-dev && \
10
10
mkdir /src && \
11
11
# Openssl
12
12
git clone --recursive https://github.com/quictls/openssl /src/openssl && \
@@ -17,7 +17,7 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git mercurial perl
17
17
RUN git clone --recursive https://github.com/SpiderLabs/ModSecurity /src/ModSecurity && \
18
18
cd /src/ModSecurity && \
19
19
/src/ModSecurity/build.sh && \
20
- /src/ModSecurity/configure --with-pcre2 && \
20
+ /src/ModSecurity/configure && \
21
21
make -j "$(nproc)" && \
22
22
make -j "$(nproc)" install
23
23
# Nginx
@@ -99,7 +99,7 @@ RUN hg clone https://hg.nginx.org/nginx-quic -r "quic" /src/nginx && \
99
99
FROM python:3.11.3-alpine3.18
100
100
COPY --from=build /usr/local/nginx /usr/local/nginx
101
101
COPY --from=build /usr/local/modsecurity/lib/libmodsecurity.so.3 /usr/local/modsecurity/lib/libmodsecurity.so.3
102
- RUN apk add --no-cache ca-certificates tzdata zlib luajit pcre pcre2 yajl libxml2 libstdc++ && \
102
+ RUN apk add --no-cache ca-certificates tzdata zlib luajit pcre yajl libxml2 libstdc++ && \
103
103
ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
104
104
ENTRYPOINT ["nginx" ]
105
105
CMD ["-g" , "daemon off;" ]
You can’t perform that action at this time.
0 commit comments