mirror of
https://github.com/PretendoNetwork/SSSL-DNS.git
synced 2026-04-24 23:06:47 -05:00
chore: disable nginx HTTP rewrites to reduce image size
This commit is contained in:
parent
181c600d66
commit
331cf24564
|
|
@ -38,18 +38,13 @@ RUN ./configure \
|
|||
--with-http_ssl_module \
|
||||
--with-openssl=/tmp/openssl-${openssl_version} \
|
||||
--with-openssl-opt="enable-weak-ssl-ciphers" \
|
||||
--with-pcre
|
||||
--without-http_rewrite_module
|
||||
RUN make -j$(nproc)
|
||||
RUN make install
|
||||
|
||||
# * Use Ubuntu to run Nginx
|
||||
FROM ubuntu:latest AS final
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
libpcre3 \
|
||||
&& apt-get clean
|
||||
|
||||
# * Create required directories
|
||||
RUN mkdir -p /var/log/nginx
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user