Skip to content

Instantly share code, notes, and snippets.

@jakekara
Created November 16, 2023 01:17
Show Gist options
  • Save jakekara/5f1ad9ddf93996d80093d51ae09a00b1 to your computer and use it in GitHub Desktop.
Save jakekara/5f1ad9ddf93996d80093d51ae09a00b1 to your computer and use it in GitHub Desktop.
Patched Dockerfile for python:3.12-alpine
# Dockerfile that patches 3.12-alpine
# as of Nov. 15, 2023771
# `docker scout cves` reports no vulnerabilities
FROM python:3.12-alpine
# Fixes CVE for pip
# https://scout.docker.com/v/CVE-2023-5752
RUN pip install --upgrade pip
# Fixes CVEs for openssl
# * https://scout.docker.com/v/CVE-2023-5678
# * https://scout.docker.com/v/CVE-2023-5363
RUN apk add --update --no-cache \
openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment