Skip to content

Commit 8f8ffe7

Browse files
committed
upgrade python and docker images
1 parent 9a8c7c6 commit 8f8ffe7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG AL_PROVIDED_VERSION=al2023.2024.08.09.13
1+
ARG AL_PROVIDED_VERSION=al2023.2026.01.19.11
22
ARG ARCH=x86_64
33
FROM public.ecr.aws/lambda/provided:${AL_PROVIDED_VERSION}-${ARCH} as base
44
RUN dnf -y update && \
@@ -10,7 +10,7 @@ RUN dnf -y update && \
1010
dnf -y install gcc openssl-devel bzip2-devel libffi-devel xz-devel zlib-devel tar xz && \
1111
dnf clean all
1212

13-
ARG PYTHON_VERSION=3.12.5
13+
ARG PYTHON_VERSION=3.14.2
1414

1515
RUN cd "$(mktemp -d)" && \
1616
curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz && \

simple-example/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# based on this example
22
# https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/970e9c1d2613e0ce9c388547c76ac30992ad0e96/README.md
33

4-
FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm as build-image
4+
FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie as build-image
55

66
# Install aws-lambda-cpp build dependencies (for awslambdaric)
77
RUN apt-get update && \
@@ -26,7 +26,7 @@ RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel && \
2626
--target /src \
2727
awslambdaric boto3
2828

29-
FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm
29+
FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie
3030

3131
WORKDIR /src
3232

0 commit comments

Comments
 (0)