peterguo 1 mēnesi atpakaļ
vecāks
revīzija
3abb5d05d7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      openresty/Dockerfile

+ 3 - 0
openresty/Dockerfile

@@ -58,6 +58,7 @@ ARG RESTY_CONFIG_OPTIONS_MORE="\
     --with-http_iconv_module \
     --add-module=/tmp/nginx-ct-master \
     --add-module=/tmp/nginx-dav-ext-module-master \
+    --add-module=/tmp/ngx_brotli-master \
     --add-module=/tmp/ngx_cache_purge-master \
     --add-module=/tmp/ngx_http_substitutions_filter_module-master \
     "
@@ -106,6 +107,7 @@ RUN apk add --no-cache --virtual .build-deps \
         curl \
         gd-dev \
         geoip-dev \
+        git \
         libxslt-dev \
         linux-headers \
         make \
@@ -165,6 +167,7 @@ RUN apk add --no-cache --virtual .build-deps \
     && tar xzf nginx-ct.tar.gz \
     && curl -fSL https://github.com/arut/nginx-dav-ext-module/archive/master.tar.gz -o nginx-dav-ext-module.tar.gz \
     && tar xzf nginx-dav-ext-module.tar.gz \
+    && cd /tmp && git clone --recursive https://github.com/google/ngx_brotli.git ngx_brotli-master \
     && curl -fSL https://github.com/yaoweibin/ngx_http_substitutions_filter_module/archive/master.tar.gz -o ngx_http_substitutions_filter_module.tar.gz \
     && tar xzf ngx_http_substitutions_filter_module.tar.gz \
     && curl -fSL https://github.com/FRiCKLE/ngx_cache_purge/archive/master.tar.gz -o ngx_cache_purge.tar.gz \