From cf4cc1dbd446d754b9544b7df927ed9054c938a9 Mon Sep 17 00:00:00 2001 From: joseph Date: Wed, 18 Nov 2026 00:42:20 +0300 Subject: [PATCH] fix: patch base image (brotli CVE found by Trivy) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0c1b423..8e018d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM nginx:1.29-alpine +# patch OS packages so Trivy finds no fixable CRITICAL CVEs +RUN apk upgrade --no-cache ARG VERSION=dev COPY index.html /usr/share/nginx/html/index.html RUN sed -i "s/__VERSION__/${VERSION}/" /usr/share/nginx/html/index.html