|
4 | 4 |
|
5 | 5 | ENV NGINX_VERSION 1.11.2 |
6 | 6 |
|
7 | | -ENV GPG_KEYS B0F4253373F8F6F510D42178520A9993A1C052F8 |
8 | | -ENV CONFIG "\ |
9 | | - --prefix=/etc/nginx \ |
10 | | - --sbin-path=/usr/sbin/nginx \ |
11 | | - --modules-path=/usr/lib/nginx/modules \ |
12 | | - --conf-path=/etc/nginx/nginx.conf \ |
13 | | - --error-log-path=/var/log/nginx/error.log \ |
14 | | - --http-log-path=/var/log/nginx/access.log \ |
15 | | - --pid-path=/var/run/nginx.pid \ |
16 | | - --lock-path=/var/run/nginx.lock \ |
17 | | - --http-client-body-temp-path=/var/cache/nginx/client_temp \ |
18 | | - --http-proxy-temp-path=/var/cache/nginx/proxy_temp \ |
19 | | - --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \ |
20 | | - --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \ |
21 | | - --http-scgi-temp-path=/var/cache/nginx/scgi_temp \ |
22 | | - --user=nginx \ |
23 | | - --group=nginx \ |
24 | | - --with-http_ssl_module \ |
25 | | - --with-http_realip_module \ |
26 | | - --with-http_addition_module \ |
27 | | - --with-http_sub_module \ |
28 | | - --with-http_dav_module \ |
29 | | - --with-http_flv_module \ |
30 | | - --with-http_mp4_module \ |
31 | | - --with-http_gunzip_module \ |
32 | | - --with-http_gzip_static_module \ |
33 | | - --with-http_random_index_module \ |
34 | | - --with-http_secure_link_module \ |
35 | | - --with-http_stub_status_module \ |
36 | | - --with-http_auth_request_module \ |
37 | | - --with-http_xslt_module=dynamic \ |
38 | | - --with-http_image_filter_module=dynamic \ |
39 | | - --with-http_geoip_module=dynamic \ |
40 | | - --with-http_perl_module=dynamic \ |
41 | | - --with-threads \ |
42 | | - --with-stream \ |
43 | | - --with-stream_ssl_module \ |
44 | | - --with-http_slice_module \ |
45 | | - --with-mail \ |
46 | | - --with-mail_ssl_module \ |
47 | | - --with-file-aio \ |
48 | | - --with-http_v2_module \ |
49 | | - --with-ipv6 \ |
50 | | - " |
51 | | - |
52 | | -RUN \ |
53 | | - addgroup -S nginx \ |
| 7 | +RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ |
| 8 | + && CONFIG="\ |
| 9 | + --prefix=/etc/nginx \ |
| 10 | + --sbin-path=/usr/sbin/nginx \ |
| 11 | + --modules-path=/usr/lib/nginx/modules \ |
| 12 | + --conf-path=/etc/nginx/nginx.conf \ |
| 13 | + --error-log-path=/var/log/nginx/error.log \ |
| 14 | + --http-log-path=/var/log/nginx/access.log \ |
| 15 | + --pid-path=/var/run/nginx.pid \ |
| 16 | + --lock-path=/var/run/nginx.lock \ |
| 17 | + --http-client-body-temp-path=/var/cache/nginx/client_temp \ |
| 18 | + --http-proxy-temp-path=/var/cache/nginx/proxy_temp \ |
| 19 | + --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \ |
| 20 | + --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \ |
| 21 | + --http-scgi-temp-path=/var/cache/nginx/scgi_temp \ |
| 22 | + --user=nginx \ |
| 23 | + --group=nginx \ |
| 24 | + --with-http_ssl_module \ |
| 25 | + --with-http_realip_module \ |
| 26 | + --with-http_addition_module \ |
| 27 | + --with-http_sub_module \ |
| 28 | + --with-http_dav_module \ |
| 29 | + --with-http_flv_module \ |
| 30 | + --with-http_mp4_module \ |
| 31 | + --with-http_gunzip_module \ |
| 32 | + --with-http_gzip_static_module \ |
| 33 | + --with-http_random_index_module \ |
| 34 | + --with-http_secure_link_module \ |
| 35 | + --with-http_stub_status_module \ |
| 36 | + --with-http_auth_request_module \ |
| 37 | + --with-http_xslt_module=dynamic \ |
| 38 | + --with-http_image_filter_module=dynamic \ |
| 39 | + --with-http_geoip_module=dynamic \ |
| 40 | + --with-http_perl_module=dynamic \ |
| 41 | + --with-threads \ |
| 42 | + --with-stream \ |
| 43 | + --with-stream_ssl_module \ |
| 44 | + --with-http_slice_module \ |
| 45 | + --with-mail \ |
| 46 | + --with-mail_ssl_module \ |
| 47 | + --with-file-aio \ |
| 48 | + --with-http_v2_module \ |
| 49 | + --with-ipv6 \ |
| 50 | + " \ |
| 51 | + && addgroup -S nginx \ |
54 | 52 | && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx \ |
55 | 53 | && apk add --no-cache --virtual .build-deps \ |
56 | 54 | gcc \ |
|
0 commit comments