Patch libzstd1 (CVE-2026-124851) found by the image scan
Scrap-Web/pipeline/pr-main This commit looks good
Scrap-Web/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2026-11-30 02:04:11 +00:00
parent 927df037b0
commit 9fdfd00fa6
+1 -1
View File
@@ -6,7 +6,7 @@ WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
# Exact, hash-checked dependency versions (direct + transitive) from requirements.txt # Exact, hash-checked dependency versions (direct + transitive) from requirements.txt
RUN pip install --no-cache-dir --require-hashes -r requirements.txt RUN pip install --no-cache-dir --require-hashes -r requirements.txt
RUN apt-get update && apt-get install -y --only-upgrade zlib1g && rm -rf /var/lib/apt/lists/* \ RUN apt-get update && apt-get install -y --only-upgrade zlib1g libzstd1 && rm -rf /var/lib/apt/lists/* \
&& pip uninstall -y pip setuptools && pip uninstall -y pip setuptools
COPY app.py . COPY app.py .
USER 10001:10001 USER 10001:10001