File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ RUN mkdir -p /build/python/lib/$runtime/site-packages
88WORKDIR /build
99
1010# AL2 SAM images (Python <= 3.11) ship GCC 7, which is too old to build ddtrace.
11- # AL2023 SAM images already include GCC, find, and strip. The Lambda Python 3.15
12- # preview image does not, so install that toolchain with dnf.
11+ # AL2023 SAM images already include GCC, find, and strip. Lambda preview images
12+ # do not, so install that toolchain with dnf when those tools are missing .
1313RUN set -eux; \
1414 if command -v yum >/dev/null 2>&1; then \
1515 yum -y install git gcc10 gcc10-c++; \
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ set -e
3535
3636LAYER_DIR=" .layers"
3737LAYER_FILES_PREFIX=" datadog_lambda_py"
38- AVAILABLE_PYTHON_VERSIONS=(" 3.8" " 3.9" " 3.10" " 3.11" " 3.12" " 3.13" " 3.14" )
38+ AVAILABLE_PYTHON_VERSIONS=(" 3.8" " 3.9" " 3.10" " 3.11" " 3.12" " 3.13" " 3.14" " 3.15 " )
3939# Preview runtimes. AWS has not published a SAM build image for these, so the
4040# Lambda preview base image is used instead. The Dockerfile installs the
41- # compiler toolchain that image is missing.
42- PREVIEW_PYTHON_VERSIONS=(" 3.15 " )
41+ # compiler toolchain that image is missing.
42+ PREVIEW_PYTHON_VERSIONS=()
4343ALL_PYTHON_VERSIONS=(" ${AVAILABLE_PYTHON_VERSIONS[@]} " " ${PREVIEW_PYTHON_VERSIONS[@]} " )
4444AVAILABLE_ARCHS=(" arm64" " amd64" )
4545
You can’t perform that action at this time.
0 commit comments