From 33e78a8a439f480cdcd78ea56dc24555cebdc863 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Mon, 9 Nov 2026 10:22:05 -0500 Subject: [PATCH] chore: bump Python base images to 3.12.16 (#220) Update the pinned python base image from 3.12.13 to 3.12.16, the latest 3.12 release, in the full, slim, alpine and openshift Dockerfiles. The floating "3.12" in the PyPI workflow and the /usr/local/lib/python3.12 cleanup paths are minor-version only and remain valid for any 3.12.x patch release, so they are unchanged. Co-authored-by: Claude --- Dockerfile | 2 +- Dockerfile.alpine | 4 ++-- Dockerfile.openshift | 4 ++-- Dockerfile.slim | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08342a9..6c56e80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Pin to a specific patch version for reproducible builds. # To pick up security patches, bump this version and rebuild. -FROM python:3.12.13 AS base +FROM python:3.12.16 AS base RUN apt-get update && apt-get install -y --no-install-recommends \ # Core utilities diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 1702c88..ba4b030 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -29,7 +29,7 @@ # Compiles Python dependencies in an isolated prefix. Alpine needs # musl-dev and gcc for most C extensions. # -------------------------------------------------------------------------- -FROM python:3.12.13-alpine AS builder +FROM python:3.12.16-alpine AS builder WORKDIR /src @@ -55,7 +55,7 @@ RUN pip install --no-cache-dir --prefix=/install . # Stage 2: Runtime # Tiny Alpine runtime. No compilers, no build tools, no sudo. # -------------------------------------------------------------------------- -FROM python:3.12.13-alpine +FROM python:3.12.16-alpine # ── Runtime system packages ──────────────────────────────────────────────── # diff --git a/Dockerfile.openshift b/Dockerfile.openshift index 0d4ec34..a062cc3 100644 --- a/Dockerfile.openshift +++ b/Dockerfile.openshift @@ -1,4 +1,4 @@ -FROM python:3.12.13-slim AS builder +FROM python:3.12.16-slim AS builder WORKDIR /src @@ -8,7 +8,7 @@ COPY open_terminal/ open_terminal/ RUN pip install --no-cache-dir --prefix=/install . -FROM python:3.12.13-slim +FROM python:3.12.16-slim ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 diff --git a/Dockerfile.slim b/Dockerfile.slim index 083a258..a6766dd 100644 --- a/Dockerfile.slim +++ b/Dockerfile.slim @@ -25,7 +25,7 @@ # Compiles Python dependencies in an isolated prefix so we can copy only # the final result into the slim runtime image — no compilers shipped. # -------------------------------------------------------------------------- -FROM python:3.12.13-slim AS builder +FROM python:3.12.16-slim AS builder WORKDIR /src @@ -51,7 +51,7 @@ RUN pip install --no-cache-dir --prefix=/install . # Stage 2: Runtime # The actual image that ships. No compilers, no build tools, no sudo. # -------------------------------------------------------------------------- -FROM python:3.12.13-slim +FROM python:3.12.16-slim # ── Runtime system packages ──────────────────────────────────────────────── #