Skip to content

Commit 1acb0e2

Browse files
authored
Bump version v1.23.0 (#33)
1 parent 07444d4 commit 1acb0e2

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

Dockerfile

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM alpine:3.15 AS build
1+
FROM alpine:3.16 AS build
22

3-
ENV NGINX_VERSION 1.22.0
3+
ENV NGINX_VERSION 1.23.0
44
# https://github.com/nginx/njs
5-
ENV NJS_MODULE_VERSION 0.7.4
5+
ENV NJS_MODULE_VERSION 0.7.5
66
# https://github.com/openresty/echo-nginx-module
77
ENV ECHO_MODULE_VERSION v0.62
88
# https://github.com/openresty/headers-more-nginx-module
9-
ENV HEADERS_MODULE_VERSION v0.33
9+
ENV HEADERS_MODULE_VERSION master
1010
# https://github.com/openresty/memc-nginx-module
1111
ENV MEMC_MODULE_VERSION v0.19
1212
# https://github.com/vision5/ngx_devel_kit
@@ -17,11 +17,14 @@ ENV POSTGRES_MODULE_VERSION master
1717
ENV RDSJSON_MODULE_VERSION v0.15
1818
# https://github.com/openresty/redis2-nginx-module
1919
ENV REDIS2_MODULE_VERSION v0.15
20-
ENV REDIS_MODULE_VERSION 0.3.9
20+
# https://github.com/osokin/ngx_http_redis
21+
ENV REDIS_MODULE_VERSION ngx-1.23
2122
# https://github.com/openresty/set-misc-nginx-module
2223
ENV SETMISC_MODULE_VERSION v0.33
24+
# https://github.com/levonet/nginx-sticky-module-ng
25+
ENV STICKY_MODULE_VERSION nginx-1.23.0
2326
# https://github.com/openresty/srcache-nginx-module
24-
ENV SRCACHE_MODULE_VERSION v0.32
27+
ENV SRCACHE_MODULE_VERSION master
2528
# https://github.com/weibocom/nginx-upsync-module
2629
ENV UPSYNC_MODULE_VERSION v2.1.3
2730
# https://github.com/xiaokai-wang/nginx-stream-upsync-module
@@ -45,7 +48,9 @@ RUN set -eux \
4548
gcc \
4649
gettext \
4750
git \
48-
gnupg1 \
51+
gnupg-dirmngr \
52+
gpg \
53+
gpg-agent \
4954
libc-dev \
5055
linux-headers \
5156
make \
@@ -141,7 +146,7 @@ RUN set -eux \
141146
&& git clone --depth=1 --single-branch -b ${SETMISC_MODULE_VERSION} https://github.com/openresty/set-misc-nginx-module.git \
142147
\
143148
# Sticky
144-
&& git clone --depth=1 https://github.com/levonet/nginx-sticky-module-ng.git \
149+
&& git clone --depth=1 --single-branch -b ${STICKY_MODULE_VERSION} https://github.com/levonet/nginx-sticky-module-ng.git \
145150
\
146151
# Upstream health check
147152
&& git clone --depth=1 https://github.com/2Fast2BCn/nginx_upstream_check_module.git \
@@ -155,9 +160,7 @@ RUN set -eux \
155160
&& (cd ngx_brotli; git submodule update --init) \
156161
\
157162
# Redis
158-
&& mkdir -p /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis \
159-
&& curl -fSL https://people.freebsd.org/~osa/ngx_http_redis-${REDIS_MODULE_VERSION}.tar.gz -o ngx_http_redis.tar.gz \
160-
&& tar -zxC /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis -f ngx_http_redis.tar.gz --strip 1 \
163+
&& git clone --depth=1 --single-branch -b ${REDIS_MODULE_VERSION} https://github.com/zhuizhuhaomeng/ngx_http_redis.git \
161164
\
162165
# A forward proxy module for CONNECT request handling
163166
&& git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
@@ -251,7 +254,7 @@ RUN set -eux \
251254
/usr/local/lib/libyaml-cpp.so* \
252255
/usr/local/lib/libjaegertracing.so*
253256

254-
FROM alpine:3.15
257+
FROM alpine:3.16
255258

256259
COPY --from=build /etc/nginx /etc/nginx
257260
COPY --from=build /usr/sbin/nginx /usr/sbin/nginx

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Supported tags and respective `Dockerfile` links
22

33
- [`latest` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/master/Dockerfile)
4-
- [`1.21.6-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.6/Dockerfile) Mainline version
4+
- [`1.23.0-alpine`, `1.23-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.23.0/Dockerfile) Mainline version
55
- [`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.21.6-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.6/Dockerfile)
89
- [`1.20.1-alpine`, `1.20-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.20.1/Dockerfile)
910
- [`1.19.10-alpine`, `1.19-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.19.10/Dockerfile)
1011
- [`1.18.0-alpine`, `1.18-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.18.0/Dockerfile)

0 commit comments

Comments
 (0)