Skip to content

Commit 518dbad

Browse files
authored
Bump version v1.23.2 (#43)
1 parent 63894cc commit 518dbad

File tree

10 files changed

+23
-37
lines changed

10 files changed

+23
-37
lines changed

Dockerfile

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

3-
ENV NGINX_VERSION 1.23.1
3+
ENV NGINX_VERSION 1.23.2
44
# https://github.com/nginx/njs
5-
ENV NJS_MODULE_VERSION 0.7.6
5+
ENV NJS_MODULE_VERSION 0.7.8
6+
# https://github.com/google/ngx_brotli
7+
ENV BROTLI_MODULE_VERSION 6e975bcb015f62e1f303054897783355e2a877dc
68
# https://github.com/openresty/echo-nginx-module
7-
ENV ECHO_MODULE_VERSION v0.62
9+
ENV ECHO_MODULE_VERSION v0.63
810
# https://github.com/openresty/headers-more-nginx-module
911
ENV HEADERS_MODULE_VERSION v0.34
1012
# https://github.com/openresty/memc-nginx-module
1113
ENV MEMC_MODULE_VERSION v0.19
1214
# https://github.com/vision5/ngx_devel_kit
13-
ENV NDK_MODULE_VERSION v0.3.1
15+
ENV NDK_MODULE_VERSION v0.3.2
1416
# https://github.com/openresty/ngx_postgres
1517
ENV POSTGRES_MODULE_VERSION master
1618
# https://github.com/openresty/rds-json-nginx-module
@@ -34,7 +36,7 @@ ENV JAEGER_CLIENT_VERSION v0.9.0
3436
# https://github.com/opentracing/opentracing-cpp
3537
ENV OPENTRACING_LIB_VERSION v1.6.0
3638
# https://github.com/opentracing-contrib/nginx-opentracing
37-
ENV OPENTRACING_MODULE_VERSION v0.26.0
39+
ENV OPENTRACING_MODULE_VERSION v0.27.0
3840

3941
COPY *.patch /tmp/
4042
RUN set -eux \
@@ -149,15 +151,12 @@ RUN set -eux \
149151
&& git clone --depth=1 --single-branch -b ${STICKY_MODULE_VERSION} https://github.com/levonet/nginx-sticky-module-ng.git \
150152
\
151153
# Upstream health check
152-
&& git clone --depth=1 https://github.com/2Fast2BCn/nginx_upstream_check_module.git \
153-
&& (cd nginx_upstream_check_module; \
154-
patch -p1 < /tmp/nginx_upstream_check_module-only-worker-proccess.patch; \
155-
) \
156-
&& patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.18.0.patch \
154+
&& git clone --depth=1 https://github.com/levonet/nginx_upstream_check_module.git \
155+
&& patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.20.1+.patch \
157156
\
158157
# Brotli
159-
&& git clone --depth=1 https://github.com/google/ngx_brotli.git \
160-
&& (cd ngx_brotli; git submodule update --init) \
158+
&& git clone https://github.com/google/ngx_brotli.git \
159+
&& (cd ngx_brotli; git checkout ${BROTLI_MODULE_VERSION}; git submodule update --init) \
161160
\
162161
# Redis
163162
&& git clone --depth=1 --single-branch -b ${REDIS_MODULE_VERSION} https://github.com/zhuizhuhaomeng/ngx_http_redis.git \

README.md

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

33
- [`latest` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/master/Dockerfile)
4-
- [`1.23.1-alpine`, `1.23-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.23.1/Dockerfile) Mainline version
4+
- [`1.23.2-alpine`, `1.23-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.23.2/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

@@ -29,7 +29,7 @@ The difference from the [official Nginx docker image](https://hub.docker.com/_/n
2929
- with [Sticky](https://github.com/levonet/nginx-sticky-module-ng) dynamic module
3030
- with [Sync upstreams](https://github.com/weibocom/nginx-upsync-module#readme) dynamic module
3131
- with [Stream sync upstreams](https://github.com/xiaokai-wang/nginx-stream-upsync-module#readme) dynamic module
32-
- with [Upstream health check](https://github.com/2Fast2BCn/nginx_upstream_check_module#readme) module
32+
- with [Upstream health check](https://github.com/levonet/nginx_upstream_check_module#readme) module
3333
- with [Brotli](https://github.com/google/ngx_brotli#readme) dynamic module
3434
- with [Various set_xxx directives](https://github.com/openresty/set-misc-nginx-module#readme) dynamic module
3535
- with [Headers more](https://github.com/openresty/headers-more-nginx-module#readme) dynamic module

nginx_upstream_check_module-only-worker-proccess.patch

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

test/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
DOCKER_TAG ?= latest
22
DOCKER_IMAGE ?= levonet/nginx:$(DOCKER_TAG)
33
TESTS = check jaeger njs proxy_connect redis sticky
4+
DOCKER ?= docker
5+
DOCKER_COMPOSE ?= docker-compose
46

57
.PHONY: all build test clean $(TESTS)
68
all: build test
79
test: $(TESTS)
810

911
build:
10-
docker build -t $(DOCKER_IMAGE) ..
12+
$(DOCKER) build -t $(DOCKER_IMAGE) ..
1113

1214
$(TESTS):
1315
cd $@; \
14-
docker-compose up --build --abort-on-container-exit
16+
$(DOCKER_COMPOSE) up --build --abort-on-container-exit
1517

1618
clean:
1719
rm -rf */node_modules

test/check/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

test/jaeger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

test/njs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

test/proxy_connect/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

test/redis/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

test/sticky/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-slim AS base
1+
FROM node:14-slim AS base
22

33
ENV DOCKERIZE_VERSION v0.6.1
44
RUN set -eux \

0 commit comments

Comments
 (0)