From 9f4cba72afcadf390d35f55ad66c3ff5d8ed1fe1 Mon Sep 17 00:00:00 2001 From: samahk13 Date: Mon, 30 Nov 2026 02:00:54 +0000 Subject: [PATCH] Patch libzstd1 (CVE-2026-124851) found by the image scan --- pricing/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pricing/Dockerfile b/pricing/Dockerfile index 262e316..b4b9e91 100644 --- a/pricing/Dockerfile +++ b/pricing/Dockerfile @@ -6,6 +6,8 @@ WORKDIR /app COPY requirements.txt . # Exact, hash-checked dependency versions (direct + transitive) from requirements.txt RUN pip install --no-cache-dir --require-hashes -r requirements.txt +RUN apt-get update && apt-get install -y --only-upgrade zlib1g libzstd1 && rm -rf /var/lib/apt/lists/* \ + && pip uninstall -y pip setuptools COPY app.py . USER 10001:10001 EXPOSE 8000