From cef87fa7355b9e07d9c4b97ed07e4a1cb3e2dff4 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 15 Aug 2024 19:35:29 -0700 Subject: [PATCH] Build modules for NGINX 1.27.1 and 1.26.2 (#665) --- .github/workflows/ci.yml | 2 ++ Dockerfile | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24c5eb1f..16cf9720 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,9 @@ jobs: 1.25.5, 1.26.0, 1.26.1, + 1.26.2, 1.27.0, + 1.27.1, ] steps: - name: Checkout Repository diff --git a/Dockerfile b/Dockerfile index 9a1659e7..a52d094b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -205,7 +205,7 @@ RUN xx-info env && git clone --depth 1 -b $DATADOG_VERSION https://github.com/Da ### Base build image for debian -FROM nginx:1.27.0 AS build-nginx-debian +FROM nginx:1.27.1 AS build-nginx-debian RUN DEBIAN_VERSION=$(awk -F '=' '/^VERSION_CODENAME=/ {print $2}' /etc/os-release) \ && echo "deb-src [signed-by=/etc/apt/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/mainline/debian/ ${DEBIAN_VERSION} nginx" >> /etc/apt/sources.list.d/nginx.list \ @@ -214,7 +214,7 @@ RUN DEBIAN_VERSION=$(awk -F '=' '/^VERSION_CODENAME=/ {print $2}' /etc/os-releas ### Base build image for alpine -FROM nginx:1.27.0-alpine AS build-nginx-alpine +FROM nginx:1.27.1-alpine AS build-nginx-alpine RUN apk add --no-cache \ build-base \ pcre2-dev \ @@ -241,12 +241,12 @@ RUN curl -fsSL -O https://github.com/nginx/nginx/archive/release-${NGINX_VERSION ### Base image for alpine -FROM nginx:1.27.0-alpine AS nginx-alpine +FROM nginx:1.27.1-alpine AS nginx-alpine RUN apk add --no-cache libstdc++ ### Base image for debian -FROM nginx:1.27.0 AS nginx-debian +FROM nginx:1.27.1 AS nginx-debian ### Build final image