removed brotli support (reason: the brotli compression format is not standard)
This commit is contained in:
parent
b7d8616a14
commit
32f04dc510
2 changed files with 4 additions and 8 deletions
|
@ -32,8 +32,7 @@ ARG NGINX_CONFIG="\
|
|||
--with-http_v2_module \
|
||||
--with-stream \
|
||||
--with-stream_ssl_module \
|
||||
--with-threads \
|
||||
--add-module=/tmp/ngx_brotli"
|
||||
--with-threads"
|
||||
|
||||
ADD https://ftp.pcre.org/pub/pcre/pcre-$PCRE_VERSION.tar.gz /tmp/pcre.tar.gz
|
||||
ADD https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz /tmp/openssl.tar.gz
|
||||
|
@ -53,8 +52,7 @@ RUN if [ "$PCRE_CHECKSUM" != "$(sha256sum /tmp/pcre.tar.gz | awk '{print $1}')"
|
|||
|
||||
WORKDIR /tmp/nginx
|
||||
RUN apt update && \
|
||||
apt install -y git gcc g++ make && \
|
||||
git clone --recurse-submodules https://github.com/google/ngx_brotli.git /tmp/ngx_brotli && \
|
||||
apt install -y gcc g++ make && \
|
||||
./configure $NGINX_CONFIG && \
|
||||
make
|
||||
|
||||
|
|
|
@ -30,8 +30,7 @@ ARG NGINX_CONFIG="\
|
|||
--with-http_v2_module \
|
||||
--with-stream \
|
||||
--with-stream_ssl_module \
|
||||
--with-threads \
|
||||
--add-module=/tmp/ngx_brotli"
|
||||
--with-threads"
|
||||
|
||||
ADD https://ftp.pcre.org/pub/pcre/pcre-$PCRE_VERSION.tar.gz /tmp/pcre.tar.gz
|
||||
ADD https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz /tmp/openssl.tar.gz
|
||||
|
@ -50,8 +49,7 @@ RUN if [ "$PCRE_CHECKSUM" != "$(sha256sum /tmp/pcre.tar.gz | awk '{print $1}')"
|
|||
mv /tmp/nginx-$NGINX_VERSION /tmp/nginx
|
||||
|
||||
WORKDIR /tmp/nginx
|
||||
RUN apk add git gcc g++ perl make linux-headers && \
|
||||
git clone --recurse-submodules https://github.com/google/ngx_brotli.git /tmp/ngx_brotli && \
|
||||
RUN apk add gcc g++ perl make linux-headers && \
|
||||
./configure $NGINX_CONFIG && \
|
||||
make
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue