Skip to content

Commit c9fb346

Browse files
committed
Switch to Python 3.13 for AL2023 Lambda image
1 parent 4bce5ed commit c9fb346

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docworker-lambda/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ ENV XDG_DATA_HOME=/ \
1616
# https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-AL2023.3.html
1717
RUN mkdir "$PIP_CACHE_DIR" && chmod a+rwx "$PIP_CACHE_DIR" \
1818
&& dnf install -y \
19-
python3.12 python3.12-devel python3.12-wheel python3.12-setuptools python3.12-pip \
19+
python3.13 python3.13-devel python3.13-wheel python3.13-setuptools python3.13-pip \
2020
libpq-devel libffi-devel openssl openssl-devel gettext ca-certificates tzdata \
2121
pango cairo cairo-gobject gettext gdk-pixbuf2 zopfli \
2222
xz xz-lzma-compat tar gzip zip unzip lua lua-devel \
2323
fontconfig freetype google-droid-fonts-all google-noto-emoji-color-fonts google-noto-emoji-fonts \
2424
cabextract xorg-x11-font-utils \
2525
&& rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm \
2626
&& fc-cache -f \
27-
&& ln -s /usr/bin/python3.12 /usr/bin/python \
28-
&& ln -s /usr/bin/pip3.12 /usr/bin/pip \
27+
&& ln -s /usr/bin/python3.13 /usr/bin/python \
28+
&& ln -s /usr/bin/pip3.13 /usr/bin/pip \
2929
&& pip install awslambdaric boto3 s3transfer \
3030
&& dnf clean all \
3131
&& rm -rf $PIP_CACHE_DIR/*

0 commit comments

Comments
 (0)