Skip to content

Commit 3a2d64d

Browse files
authored
Update Dockerfile
Signed-off-by: Zoey <[email protected]>
1 parent ac1e07b commit 3a2d64d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARG NHG2M_VER=3.4
2525
WORKDIR /src
2626
# Requirements
2727
RUN apk add --no-cache ca-certificates build-base patch cmake git libtool autoconf automake \
28-
libatomic_ops-dev zlib-dev luajit-dev pcre2-dev linux-headers yajl-dev libxml2-dev libxslt-dev perl-dev curl-dev lmdb-dev lua5.1-dev lmdb-dev geoip-dev libmaxminddb-dev
28+
libatomic_ops-dev zlib-dev luajit-dev pcre2-dev linux-headers yajl-dev libxml2-dev libxslt-dev perl-dev curl-dev lmdb-dev lua5.1-dev lmdb-dev geoip-dev libfuzzy2-dev libmaxminddb-dev
2929
# Openssl
3030
RUN git clone --recursive https://github.com/quictls/openssl --branch "$OPENSSL_VER" /src/openssl
3131
# modsecurity
@@ -60,9 +60,9 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
6060
git clone --recursive https://github.com/SpiderLabs/ModSecurity-nginx --branch "$MODSECNGX_VER" /src/ModSecurity-nginx && \
6161
git clone --recursive https://github.com/openresty/lua-resty-core --branch "$LRC_VER" /src/lua-resty-core && \
6262
git clone --recursive https://github.com/openresty/lua-resty-lrucache --branch "$LRL_VER" /src/lua-resty-lrucache && \
63-
git clone --recursive https://github.com/leev/ngx_http_geoip2_module --branch "$NHG2M_VER" /src/ngx_http_geoip2_module && \
63+
git clone --recursive https://github.com/leev/ngx_http_geoip2_module --branch "$NHG2M_VER" /src/ngx_http_geoip2_module
6464
# Configure
65-
cd /src/nginx && \
65+
RUN cd /src/nginx && \
6666
/src/nginx/configure \
6767
--build="$BUILD" \
6868
--with-compat \

0 commit comments

Comments
 (0)