fix(docker): pin nginx base image to 1.28-alpine - #263
fix(docker): pin nginx base image to 1.28-alpine#263openjiuwen-sync-bot[bot] wants to merge 1 commit into
Conversation
The web Dockerfiles used the floating `nginx:alpine` tag, so the shipped image tracked whatever nginx release was latest at build time and could carry known high-severity CVEs. Pin to `nginx:1.28-alpine` (verified to exist) to make builds reproducible and eliminate the high-severity CVE addressed by the 1.27 -> 1.28 upgrade (#1277). Closes #1277. Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
|
|
1 similar comment
|
|
|
head_sha: 变更摘要此 PR 将两个 Web Dockerfile 中的 nginx 基础镜像从浮动标签 主要改动
|
|
head_sha: 代码审查✅ 未发现问题 |
|
head_sha:
|
Paired: GitHub #263 ↔ GitCode !1813
Summary
Fixes #1277: the web Dockerfiles used the floating
nginx:alpinetag, so the shipped image tracked whatever nginx release was latest at build time and could carry known high-severity CVEs.Change
docker/Dockerfile.webanddocker/Dockerfile.web.http:FROM nginx:alpine→FROM nginx:1.28-alpinenginx:1.28-alpineexists on Docker Hub (docker manifest inspect).Verification
docker manifest inspect nginx:1.28-alpine— tag existsLinked Closing Issues: