File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN addgroup -S nginx \
13
13
mimalloc2 \
14
14
pcre2 \
15
15
&& apk add --no-cache -t .build-deps \
16
+ brotli-dev \
16
17
build-base \
17
18
cmake \
18
19
curl \
@@ -40,7 +41,7 @@ RUN addgroup -S nginx \
40
41
| tar xzf - -C /usr/src/nginx --strip-components=1 \
41
42
&& curl -Ssfo /etc/ssl/dhparam.pem https://2ton.com.au/dhparam/4096 \
42
43
&& cd /usr/src/nginx \
43
- && cat /tmp/patches/*.patch | patch -Np1 \
44
+ && for f in /tmp/patches/*.patch; do patch -Np1 -i $f; done \
44
45
&& ./auto/configure \
45
46
--prefix=/etc/nginx \
46
47
--sbin-path=/usr/sbin/nginx \
@@ -96,9 +97,12 @@ RUN addgroup -S nginx \
96
97
&& cp -v objs/ngx_*_module.so /var/lib/nginx/modules \
97
98
&& rm -r /etc/nginx/html \
98
99
/etc/nginx/*.default \
100
+ /etc/nginx/koi-win \
101
+ /etc/nginx/koi-utf \
102
+ /etc/nginx/win-utf \
103
+ /etc/nginx/scgi_params \
104
+ /etc/nginx/fastcgi_params \
99
105
/etc/nginx/fastcgi.conf \
100
- /etc/nginx/{scgi,fastcgi}_params \
101
- /etc/nginx/{koi-{win,utf},win-utf} \
102
106
&& printf >> /etc/nginx/uwsgi_params \
103
107
'\n uwsgi_param HTTP_EARLY_DATA $ssl_early_data if_not_empty;\n ' \
104
108
&& apk del .build-deps \
You can’t perform that action at this time.
0 commit comments