From 8f8ffe7457b06675298ff9f4e9a47641df0fb68f Mon Sep 17 00:00:00 2001 From: Keith Petersen Date: Fri, 23 Jan 2026 23:04:31 -0600 Subject: [PATCH] upgrade python and docker images --- Dockerfile | 4 ++-- simple-example/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed1a8dc..e733cd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG AL_PROVIDED_VERSION=al2023.2024.08.09.13 +ARG AL_PROVIDED_VERSION=al2023.2026.01.19.11 ARG ARCH=x86_64 FROM public.ecr.aws/lambda/provided:${AL_PROVIDED_VERSION}-${ARCH} as base RUN dnf -y update && \ @@ -10,7 +10,7 @@ RUN dnf -y update && \ dnf -y install gcc openssl-devel bzip2-devel libffi-devel xz-devel zlib-devel tar xz && \ dnf clean all -ARG PYTHON_VERSION=3.12.5 +ARG PYTHON_VERSION=3.14.2 RUN cd "$(mktemp -d)" && \ curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz && \ diff --git a/simple-example/Dockerfile b/simple-example/Dockerfile index 9b44045..95b3c21 100644 --- a/simple-example/Dockerfile +++ b/simple-example/Dockerfile @@ -1,7 +1,7 @@ # based on this example # https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/970e9c1d2613e0ce9c388547c76ac30992ad0e96/README.md -FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm as build-image +FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie as build-image # Install aws-lambda-cpp build dependencies (for awslambdaric) RUN apt-get update && \ @@ -26,7 +26,7 @@ RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel && \ --target /src \ awslambdaric boto3 -FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm +FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie WORKDIR /src