Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Oct 8, 2023
1 parent 8f545fc commit 928e057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
git clone --recursive https://github.com/GetPageSpeed/ngx_security_headers /src/ngx_security_headers && \
# git clone --recursive https://github.com/nginx-modules/ngx_http_limit_traffic_ratefilter_module /src/ngx_http_limit_traffic_ratefilter_module && \
git clone --recursive https://github.com/nginx/njs /src/njs && \
git clone --recursive https://github.com/maxmind/libmaxminddb /src/libmaxminddb && \
git clone --recursive https://github.com/vision5/ngx_devel_kit /src/ngx_devel_kit && \
git clone --recursive https://github.com/openresty/lua-nginx-module /src/lua-nginx-module && \
git clone --recursive https://github.com/SpiderLabs/ModSecurity-nginx /src/ModSecurity-nginx && \
git clone --recursive https://github.com/openresty/lua-resty-core /src/lua-resty-core && \
git clone --recursive https://github.com/openresty/lua-resty-lrucache /src/lua-resty-lrucache && \
git clone --recursive https://github.com/leev/ngx_http_geoip2_module /src/ngx_http_geoip2_module && \
# Configure
cd /src/nginx && \
/src/nginx/configure \
Expand Down Expand Up @@ -77,10 +77,10 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
--add-module=/src/ngx_security_headers \
# --add-module=/src/ngx_http_limit_traffic_ratefilter_module \
--add-module=/src/njs/nginx \
--add-module=/src/libmaxminddb \
--add-module=/src/ngx_devel_kit \
--add-module=/src/lua-nginx-module \
--add-module=/src/ModSecurity-nginx && \
--add-module=/src/ModSecurity-nginx \
--add-module=/src/ngx_http_geoip2_module && \
# Build & Install
make -j "$(nproc)" && \
make -j "$(nproc)" install && \
Expand Down

0 comments on commit 928e057

Please sign in to comment.