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 <noreply@anthropic.com>
This commit is contained in:
Juan Calderon-PerezandClaude authored and GitHub committed 2026-11-10 00:22:05 +09:00
1 parent 198043bfa7
commit 33e78a8a43
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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
+2 -2
View File
@@ -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 ────────────────────────────────────────────────
#
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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 ────────────────────────────────────────────────
#