Skip to content

Commit

Permalink
Bump version v1.23.0 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
levonet authored Jul 2, 2022
1 parent 07444d4 commit 1acb0e2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
27 changes: 15 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.15 AS build
FROM alpine:3.16 AS build

ENV NGINX_VERSION 1.22.0
ENV NGINX_VERSION 1.23.0
# https://github.com/nginx/njs
ENV NJS_MODULE_VERSION 0.7.4
ENV NJS_MODULE_VERSION 0.7.5
# https://github.com/openresty/echo-nginx-module
ENV ECHO_MODULE_VERSION v0.62
# https://github.com/openresty/headers-more-nginx-module
ENV HEADERS_MODULE_VERSION v0.33
ENV HEADERS_MODULE_VERSION master
# https://github.com/openresty/memc-nginx-module
ENV MEMC_MODULE_VERSION v0.19
# https://github.com/vision5/ngx_devel_kit
Expand All @@ -17,11 +17,14 @@ ENV POSTGRES_MODULE_VERSION master
ENV RDSJSON_MODULE_VERSION v0.15
# https://github.com/openresty/redis2-nginx-module
ENV REDIS2_MODULE_VERSION v0.15
ENV REDIS_MODULE_VERSION 0.3.9
# https://github.com/osokin/ngx_http_redis
ENV REDIS_MODULE_VERSION ngx-1.23
# https://github.com/openresty/set-misc-nginx-module
ENV SETMISC_MODULE_VERSION v0.33
# https://github.com/levonet/nginx-sticky-module-ng
ENV STICKY_MODULE_VERSION nginx-1.23.0
# https://github.com/openresty/srcache-nginx-module
ENV SRCACHE_MODULE_VERSION v0.32
ENV SRCACHE_MODULE_VERSION master
# https://github.com/weibocom/nginx-upsync-module
ENV UPSYNC_MODULE_VERSION v2.1.3
# https://github.com/xiaokai-wang/nginx-stream-upsync-module
Expand All @@ -45,7 +48,9 @@ RUN set -eux \
gcc \
gettext \
git \
gnupg1 \
gnupg-dirmngr \
gpg \
gpg-agent \
libc-dev \
linux-headers \
make \
Expand Down Expand Up @@ -141,7 +146,7 @@ RUN set -eux \
&& git clone --depth=1 --single-branch -b ${SETMISC_MODULE_VERSION} https://github.com/openresty/set-misc-nginx-module.git \
\
# Sticky
&& git clone --depth=1 https://github.com/levonet/nginx-sticky-module-ng.git \
&& git clone --depth=1 --single-branch -b ${STICKY_MODULE_VERSION} https://github.com/levonet/nginx-sticky-module-ng.git \
\
# Upstream health check
&& git clone --depth=1 https://github.com/2Fast2BCn/nginx_upstream_check_module.git \
Expand All @@ -155,9 +160,7 @@ RUN set -eux \
&& (cd ngx_brotli; git submodule update --init) \
\
# Redis
&& mkdir -p /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis \
&& curl -fSL https://people.freebsd.org/~osa/ngx_http_redis-${REDIS_MODULE_VERSION}.tar.gz -o ngx_http_redis.tar.gz \
&& tar -zxC /usr/src/nginx-${NGINX_VERSION}/ngx_http_redis -f ngx_http_redis.tar.gz --strip 1 \
&& git clone --depth=1 --single-branch -b ${REDIS_MODULE_VERSION} https://github.com/zhuizhuhaomeng/ngx_http_redis.git \
\
# A forward proxy module for CONNECT request handling
&& git clone --depth=1 https://github.com/chobits/ngx_http_proxy_connect_module.git \
Expand Down Expand Up @@ -251,7 +254,7 @@ RUN set -eux \
/usr/local/lib/libyaml-cpp.so* \
/usr/local/lib/libjaegertracing.so*

FROM alpine:3.15
FROM alpine:3.16

COPY --from=build /etc/nginx /etc/nginx
COPY --from=build /usr/sbin/nginx /usr/sbin/nginx
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Supported tags and respective `Dockerfile` links

- [`latest` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/master/Dockerfile)
- [`1.21.6-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.6/Dockerfile) Mainline version
- [`1.23.0-alpine`, `1.23-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.23.0/Dockerfile) Mainline version
- [`1.22.0-alpine`, `1.22-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.22.0/Dockerfile) Stable version
- <details><summary>Older versions</summary>

- [`1.21.6-alpine`, `1.21-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.21.6/Dockerfile)
- [`1.20.1-alpine`, `1.20-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.20.1/Dockerfile)
- [`1.19.10-alpine`, `1.19-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.19.10/Dockerfile)
- [`1.18.0-alpine`, `1.18-alpine` (*Dockerfile*)](https://github.com/levonet/docker-nginx/blob/v1.18.0/Dockerfile)
Expand Down

0 comments on commit 1acb0e2

Please sign in to comment.