Skip to content

Commit 056eace

Browse files
authored
Bump version to v1.22.0 (#32)
1 parent a844eaa commit 056eace

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:3.15 AS build
22

3-
ENV NGINX_VERSION 1.21.6
3+
ENV NGINX_VERSION 1.22.0
44
# https://github.com/nginx/njs
5-
ENV NJS_MODULE_VERSION 0.7.2
5+
ENV NJS_MODULE_VERSION 0.7.4
66
# https://github.com/openresty/echo-nginx-module
77
ENV ECHO_MODULE_VERSION v0.62
88
# https://github.com/openresty/headers-more-nginx-module
@@ -31,7 +31,7 @@ ENV JAEGER_CLIENT_VERSION v0.9.0
3131
# https://github.com/opentracing/opentracing-cpp
3232
ENV OPENTRACING_LIB_VERSION v1.6.0
3333
# https://github.com/opentracing-contrib/nginx-opentracing
34-
ENV OPENTRACING_MODULE_VERSION v0.23.0
34+
ENV OPENTRACING_MODULE_VERSION v0.24.0
3535

3636
COPY *.patch /tmp/
3737
RUN set -eux \
@@ -55,6 +55,8 @@ RUN set -eux \
5555
postgresql-dev \
5656
readline-dev \
5757
zlib-dev \
58+
# https://nginx.org/en/pgp_keys.html
59+
&& curl -fSL https://nginx.org/keys/thresh.key -o nginx_signing.key \
5860
&& curl -fSL https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz -o nginx.tar.gz \
5961
&& curl -fSL https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz.asc -o nginx.tar.gz.asc \
6062
&& export GNUPGHOME="$(mktemp -d)" \
@@ -69,8 +71,9 @@ RUN set -eux \
6971
gpg --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$GPG_KEYS" && found=yes && break; \
7072
done; \
7173
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; \
72-
gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
73-
&& rm -rf "$GNUPGHOME" nginx.tar.gz.asc \
74+
gpg --import nginx_signing.key \
75+
&& gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
76+
&& rm -rf "$GNUPGHOME" nginx_signing.key nginx.tar.gz.asc \
7477
&& mkdir -p /usr/src \
7578
&& tar -zxC /usr/src -f nginx.tar.gz \
7679
&& rm nginx.tar.gz \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
- [`latest` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/master/Dockerfile)
44
- [`1.21.6-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.6/Dockerfile) Mainline version
5-
- [`1.20.1-alpine`, `1.20-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.20.1/Dockerfile) Stable version
5+
- [`1.22.0-alpine`, `1.22-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.22.0/Dockerfile) Stable version
66
- <details><summary>Older versions</summary>
77

8+
- [`1.20.1-alpine`, `1.20-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.20.1/Dockerfile)
89
- [`1.19.10-alpine`, `1.19-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.19.10/Dockerfile)
910
- [`1.18.0-alpine`, `1.18-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.18.0/Dockerfile)
1011
- [`1.17.10-alpine`, `1.17-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.17.10/Dockerfile)

0 commit comments

Comments
 (0)