11FROM alpine:3.12 AS build
22
3- ENV NGINX_VERSION 1.21.0
3+ ENV NGINX_VERSION 1.21.1
44# https://github.com/nginx/njs
5- ENV NJS_MODULE_VERSION 0.5.3
5+ ENV NJS_MODULE_VERSION 0.6.1
66# https://github.com/openresty/echo-nginx-module
77ENV ECHO_MODULE_VERSION v0.62
88# https://github.com/openresty/headers-more-nginx-module
@@ -31,7 +31,7 @@ ENV JAEGER_CLIENT_VERSION v0.7.0
3131# https://github.com/opentracing/opentracing-cpp
3232ENV OPENTRACING_LIB_VERSION v1.6.0
3333# https://github.com/opentracing-contrib/nginx-opentracing
34- ENV OPENTRACING_MODULE_VERSION v0.16 .0
34+ ENV OPENTRACING_MODULE_VERSION v0.19 .0
3535
3636COPY *.patch /tmp/
3737RUN set -eux \
@@ -144,9 +144,8 @@ RUN set -eux \
144144 && git clone --depth=1 https://github.com/2Fast2BCn/nginx_upstream_check_module.git \
145145 && (cd nginx_upstream_check_module; \
146146 patch -p1 < /tmp/nginx_upstream_check_module-only-worker-proccess.patch; \
147- patch -p1 < /tmp/nginx_upstream_check_module-check_1.16.1+.patch \
148147 ) \
149- && patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.16.1+ .patch \
148+ && patch -p1 < /usr/src/nginx-${NGINX_VERSION}/nginx_upstream_check_module/check_1.18.0 .patch \
150149 \
151150 # Brotli
152151 && git clone --depth=1 https://github.com/google/ngx_brotli.git \
@@ -158,8 +157,9 @@ RUN set -eux \
158157 && tar -zxC /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis -f ngx_http_redis.tar.gz --strip 1 \
159158 \
160159 # A forward proxy module for CONNECT request handling
161- && git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
162- && patch -p1 < ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_1018.patch \
160+ # && git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
161+ && git clone --depth=1 --single-branch -b p102101 https://github.com/levonet/ngx_http_proxy_connect_module.git \
162+ && patch -p1 < ngx_http_proxy_connect_module/patch/proxy_connect_rewrite_102101.patch \
163163 \
164164 # Sync upstreams from consul or others
165165 && git clone --depth=1 --single-branch -b ${UPSYNC_MODULE_VERSION} https://github.com/weibocom/nginx-upsync-module.git \
0 commit comments