fix(docker): Upgrade Alpine packages in the docs image (#581)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m37s
CI / Deploy MCP (push) Successful in 6m3s
CI / Deploy Agent (push) Successful in 12m9s
CI / Deploy Dashboard (push) Successful in 14m17s

vuln-watch flags CVE-2026-111497 (critical, brotli decoder out-of-bounds write) in compliance-docs. nginx:alpine (3.24) still ships brotli-libs 1.2.0-r1; Alpine already has 1.2.1-r0. Dockerfile.docs now runs `apk upgrade --no-cache` in the nginx stage (CI already builds it with `--pull`).

Tested locally: image builds, brotli-libs 1.2.1-r0, `nginx -t` passes, site present under /docs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com>
Reviewed-on: #581
This commit was merged in pull request #581.
This commit is contained in:
sharangandSharang Parnerkar committed 2026-10-29 16:44:59 +00:00
1 parent 794a3aa525
commit 330d492578
2 files changed
+4 -2

No files matched your search

Generated
+2 -2
View File
@@ -3180,9 +3180,9 @@ dependencies = [
[[package]]
name = "libz-sys"
version = "1.1.24"
version = "1.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4735e9cbde5aac84a5ce588f6b23a90b9b0b528f6c5a8db8a4aff300463a0839"
checksum = "ff20308ecabd635a2dc1dd5834a86c462cca20efba1d5d3ddab1f8aea3455cb2"
dependencies = [
"cc",
"libc",
+2
View File
@@ -8,6 +8,8 @@ COPY docs/ .
RUN npm run build
FROM nginx:alpine
# Patched Alpine packages (the nginx base lags behind, e.g. brotli in Oct 2026).
RUN apk upgrade --no-cache
RUN rm /etc/nginx/conf.d/default.conf
COPY docs/nginx.conf /etc/nginx/conf.d/default.conf
# base is /docs/ (see docs/.vitepress/config.mts) — the site lives under /docs/