Skip to content

Commit

Permalink
Build modules for NGINX 1.27.1 and 1.26.2 (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Aug 16, 2024
1 parent 344b34d commit cef87fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit cef87fa

Please sign in to comment.