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 Sep 16, 2024
1 parent 0d33330 commit 34ad1ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ RUN wget -q https://freenginx.org/download/freenginx-"$NGINX_VER".tar.gz -O - |
wget -q https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/master/nginx__dynamic_tls_records_"$DTR_VER"%2B.patch -O /src/freenginx/1.patch && \
wget -q https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-"$RCP_VER"-resolver_conf_parsing.patch -O /src/freenginx/2.patch && \
sed -i "s|freenginx|NPMplus|g" /src/freenginx/src/core/nginx.h && \
sed -i "s|install_sw LIBDIR=lib|install_sw|g" /src/freenginx/auto/lib/openssl/make && \
sed -i "s|/.openssl/lib/|/.openssl/lib64/|g" /src/freenginx/auto/lib/openssl/conf && \
cd /src/freenginx && \
patch -p1 </src/freenginx/1.patch && \
patch -p1 </src/freenginx/2.patch && \
Expand All @@ -79,7 +77,7 @@ RUN cd /src/freenginx && \
--with-libatomic \
--with-pcre \
--with-pcre-jit \
--with-openssl-opt="no-legacy" \
--with-openssl-opt="no-legacy --libdir=lib" \
--with-openssl="/usr/local/openssl" \
--with-mail \
--with-mail_ssl_module \
Expand Down

0 comments on commit 34ad1ea

Please sign in to comment.