Skip to content

Commit 63a1496

Browse files
authored
Merge pull request #9 from macbre/nginx-1.19.2
Dockerfile: compile nginx v1.19.2 + use the latest Alpine version
2 parents 0d806d1 + e5b4e69 commit 63a1496

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM alpine:3.11
1+
FROM alpine:3.12
22

33
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
44

5-
ENV NGINX_VERSION 1.18.0
5+
ENV NGINX_VERSION 1.19.2
6+
7+
# https://github.com/google/ngx_brotli
68
ENV NGX_BROTLI_COMMIT 25f86f0bac1101b6512135eac5f93c49c63609e3
79

810
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ This project is based on Alpine Linux, the official nginx image and an nginx mod
55
As this project is based on the official [nginx image](https://hub.docker.com/_/nginx/) look for instructions there. In addition to the standard configuration directives, you'll be able to use the brotli module specific ones, see [here for official documentation](https://github.com/google/ngx_brotli#configuration-directives)
66

77
```
8-
docker pull macbre/nginx-brotli:1.18.0
8+
docker pull macbre/nginx-brotli:1.19.2
99
```
1010

1111
# What's inside
1212

1313
```
1414
$ docker run -it macbre/nginx-brotli nginx -V
15-
nginx version: nginx/1.18.0
16-
built by gcc 9.2.0 (Alpine 9.2.0)
15+
nginx version: nginx/1.19.2
16+
built by gcc 9.3.0 (Alpine 9.3.0)
1717
built with OpenSSL 1.1.1g 21 Apr 2020
1818
TLS SNI support enabled
1919
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_perl_module=dynamic --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-mail --with-mail_ssl_module --with-compat --with-file-aio --with-http_v2_module --add-module=/usr/src/ngx_brotli
2020
```
2121

22-
> [nginx release notes](https://nginx.org/en/CHANGES-1.18)
22+
> [nginx release notes](https://nginx.org/en/CHANGES)
2323
2424
# SSL Grade A+ handling
2525

0 commit comments

Comments
 (0)