Skip to content

Commit e5c51c1

Browse files
authoredJan 29, 2025
Merge pull request #19 from wpjunior/nginx-1.25
Nginx 1.26.2
2 parents 661f09e + 4af3547 commit e5c51c1

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed
 

‎.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ jobs:
88
fail-fast: true
99
matrix:
1010
nginx:
11-
- "1.21.4"
11+
- "1.26.2"
1212
flavor:
1313
- tsuru
14+
openresty_package_version:
15+
- 1.27.1.1-1~bookworm1
1416
experimental:
1517
- false
1618

@@ -36,6 +38,7 @@ jobs:
3638
cache-to: type=local,dest=/tmp/.buildx-cache
3739
build-args: |
3840
nginx_version=${{ matrix.nginx }}
41+
openresty_package_version=${{ matrix.openresty_package_version }}
3942
modules=${{ env.MODULES }}
4043
lua_modules=${{ env.LUA_MODULES }}
4144
- run: make test flavor=${{ matrix.flavor }} nginx_version=${{ matrix.nginx }}

‎Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ SHELL ["/bin/bash", "-c"]
66
RUN set -x \
77
&& apt-get update \
88
&& apt-get install -y --no-install-suggests \
9-
libluajit-5.1-dev libpam0g-dev zlib1g-dev libpcre3-dev \
9+
libluajit-5.1-dev libpam0g-dev zlib1g-dev libpcre3-dev libpcre2-dev \
1010
libexpat1-dev git curl build-essential lsb-release libxml2 libxslt1.1 libxslt1-dev autoconf libtool libssl-dev \
1111
unzip libmaxminddb-dev
1212

13-
ARG openresty_package_version=1.21.4.1-1~bullseye1
13+
ARG openresty_package_version=1.27.1.1-1~bookworm1
1414
RUN set -x \
1515
&& curl -fsSL https://openresty.org/package/pubkey.gpg | apt-key add - \
1616
&& echo "deb https://openresty.org/package/$(uname -m | grep -qE 'aarch64|arm64' && echo -n 'arm64/')debian $(lsb_release -sc) openresty" | tee -a /etc/apt/sources.list.d/openresty.list \

‎Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
nginx_version ?= stable
22

33
DOCKER ?= docker
4-
DOCKER_BUILD_OPTS ?=
4+
DOCKER_BUILD_OPTS ?= --platform=linux/amd64
55

66
.PHONY: all
77
all:
@@ -24,6 +24,7 @@ image: check-required-vars
2424
lua_modules=$$(jq -er '.flavors[] | select(.name == "$(flavor)") | [ .lua_modules[]? ] | join(",")' flavors.json) && \
2525
$(DOCKER) build $(DOCKER_BUILD_OPTS) \
2626
--build-arg nginx_version=$(nginx_version) \
27+
--build-arg openresty_package_version=${openresty_package_version} \
2728
--build-arg modules="$$modules" \
2829
--build-arg lua_modules="$$lua_modules" \
2930
-t tsuru/nginx-$(flavor):$(nginx_version) .

‎flavors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "tsuru",
55
"modules": [
66
"https://github.com/simplresty/ngx_devel_kit.git:v0.3.1",
7-
"https://github.com/openresty/lua-nginx-module.git:v0.10.21",
7+
"https://github.com/openresty/lua-nginx-module.git:v0.10.27",
88
"https://github.com/openresty/lua-ssl-nginx-module.git",
99
"https://github.com/openresty/echo-nginx-module.git",
1010
"https://github.com/openresty/headers-more-nginx-module.git",

0 commit comments

Comments
 (0)