pinned nginx image to a specific alpine linux version
All checks were successful
CI / Build nginx docker images (push) Successful in 26m3s

This commit is contained in:
2025-10-31 12:10:53 +08:00
parent 0d02194f3d
commit 9b3fc9ea33

View File

@@ -1,7 +1,7 @@
ARG NGINX_BRANCH=vanilla ARG NGINX_BRANCH=vanilla
FROM alpine:latest AS base FROM alpine:3.22 AS base
FROM alpine:latest AS build_stage_1 FROM base AS build_stage_1
ARG NGINX_VERSION LIBRESSL_VERSION ARG NGINX_VERSION LIBRESSL_VERSION
RUN --mount=type=cache,target=/var/cache/apk apk update RUN --mount=type=cache,target=/var/cache/apk apk update
RUN --mount=type=cache,target=/var/cache/apk apk add \ RUN --mount=type=cache,target=/var/cache/apk apk add \