Archived
fix(docker): upgrade pip to >=26.2.2 (CVE-2026-115557)
Upgrade pip during container build to ensure internal vendored certifi is updated (2026.10.19) and eMudhra compromised CA keys are removed from trust anchor.
This commit is contained in:
1 parent
569701b7de
commit
5de4f9fc8a
1 file changed
+3
-2
+3
-2
@@ -2,8 +2,9 @@ FROM python:3.11-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
RUN pip install --no-cache-dir markdown
|
||||
# Upgrade pip to safe version (>=26.2.2, resolves CVE-2026-115557) and install dependencies
|
||||
RUN pip install --no-cache-dir --upgrade "pip>=26.2.2" && \
|
||||
pip install --no-cache-dir markdown
|
||||
|
||||
# Copy application files
|
||||
COPY app/ /app/
|
||||
|
||||
Reference in new issue
Block a user