Skip to content

Commit fbcd70e

Browse files
authored
Merge pull request #6 from macbre/nginx-1.18
Nginx 1.18
2 parents f0be473 + 438cd2e commit fbcd70e

File tree

4 files changed

+27
-51
lines changed

4 files changed

+27
-51
lines changed

.github/workflows/dockerimage.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Build the Docker image
19+
run: docker build . --tag ${{ github.repository }}
20+
21+
- name: Run nginx -V
22+
run: docker run -t ${{ github.repository }} nginx -V

Dockerfile

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

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

5-
ENV NGINX_VERSION 1.17.10
6-
ENV NGX_BROTLI_COMMIT e505dce68acc190cc5a1e780a3b0275e39f160ca
5+
ENV NGINX_VERSION 1.18.0
6+
ENV NGX_BROTLI_COMMIT 25f86f0bac1101b6512135eac5f93c49c63609e3
77

88
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
99
&& CONFIG="\
@@ -150,7 +150,6 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
150150
&& ln -sf /dev/stderr /var/log/nginx/error.log
151151

152152
COPY nginx.conf /etc/nginx/nginx.conf
153-
COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf
154153
COPY ssl_common.conf /etc/nginx/conf.d/ssl_common.conf
155154

156155
EXPOSE 80 443

nginx.vh.default.conf

Lines changed: 0 additions & 45 deletions
This file was deleted.

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ 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.17.10
8+
docker pull macbre/nginx-brotli:1.18.0
99
```
1010

1111
# What's inside
1212

1313
```
1414
$ docker run -it macbre/nginx-brotli nginx -V
15-
nginx version: nginx/1.17.10
15+
nginx version: nginx/1.18.0
1616
built by gcc 9.2.0 (Alpine 9.2.0)
17-
built with OpenSSL 1.1.1d 10 Sep 2019
17+
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
```

0 commit comments

Comments
 (0)