containerfile: pin wheel>=0.46.2 in runtime stage

This commit is contained in:
Username
2026-02-16 22:32:55 +01:00
parent cf27bd3f6a
commit c31923f491

View File

@@ -29,7 +29,7 @@ LABEL maintainer="FlaskPaste"
LABEL description="Minimal secure pastebin REST API"
# Apply security fixes to base image, remove vendored vulnerable packages
RUN pip install --no-cache-dir --upgrade pip 'setuptools>=80.0' 'jaraco.context>=6.1.0' \
RUN pip install --no-cache-dir --upgrade pip 'wheel>=0.46.2' 'setuptools>=80.0' 'jaraco.context>=6.1.0' \
&& pip cache purge 2>/dev/null || true \
&& rm -rf /root/.cache /usr/local/lib/python*/site-packages/setuptools/_vendor/jaraco*