Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ RUN mkdir -p /build/python/lib/$runtime/site-packages
WORKDIR /build

# AL2 SAM images (Python <= 3.11) ship GCC 7, which is too old to build ddtrace.
# AL2023 SAM images already include GCC, find, and strip. The Lambda Python 3.15
# preview image does not, so install that toolchain with dnf.
# AL2023 SAM images already include GCC, find, and strip. Lambda preview images
# do not, so install that toolchain with dnf when those tools are missing.
RUN set -eux; \
if command -v yum >/dev/null 2>&1; then \
yum -y install git gcc10 gcc10-c++; \
Expand Down
6 changes: 3 additions & 3 deletions scripts/build_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ set -e

LAYER_DIR=".layers"
LAYER_FILES_PREFIX="datadog_lambda_py"
AVAILABLE_PYTHON_VERSIONS=("3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14")
AVAILABLE_PYTHON_VERSIONS=("3.8" "3.9" "3.10" "3.11" "3.12" "3.13" "3.14" "3.15")
# Preview runtimes. AWS has not published a SAM build image for these, so the
# Lambda preview base image is used instead. The Dockerfile installs the
# compiler toolchain that image is missing.
PREVIEW_PYTHON_VERSIONS=("3.15")
# compiler toolchain that image is missing.
PREVIEW_PYTHON_VERSIONS=()
ALL_PYTHON_VERSIONS=("${AVAILABLE_PYTHON_VERSIONS[@]}" "${PREVIEW_PYTHON_VERSIONS[@]}")
AVAILABLE_ARCHS=("arm64" "amd64")

Expand Down
Loading