Skip to content
Merged
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
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ RUN sed -i "/opentelemetry-exporter-otlp-proto-grpc/d" ./aws-opentelemetry-distr
# EKS and ECS applications will encounter a runtime error for Python 3.8 compatibility.
# Our fix is to temporarily restrict the urllib3 version to one that works for all supported Python versions
# that we currently commit to support (notably 3.8).
# TODO: Remove this temporary workaround once we deprecate Python 3.8 support since it has reached end-of-life.
RUN mkdir workspace && pip install urllib3==2.2.3 --target workspace ./aws-opentelemetry-distro
# We also pin the setuptools version for similar issues with the library dropping 3.8 support.
# https://github.com/pypa/setuptools/blame/main/pkg_resources/__init__.py#L24
# TODO: Remove these temporary workarounds once we deprecate Python 3.8 support since it has reached end-of-life.
RUN mkdir workspace && pip install setuptools==75.2.0 urllib3==2.2.3 --target workspace ./aws-opentelemetry-distro

# Stage 2: Build the cp-utility binary
FROM public.ecr.aws/docker/library/rust:1.81 as builder
Expand Down
Loading