From c043af28e50038cfbfe35cea3af2f338bfa4db38 Mon Sep 17 00:00:00 2001 From: Michael He Date: Wed, 8 Jan 2025 22:44:58 +0000 Subject: [PATCH] pin urllib3 version in docker setup --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c75a1358..da590033 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ ADD aws-opentelemetry-distro/ ./aws-opentelemetry-distro/ # * https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/recover-python-functions.md#troubleshoot-cannot-import-cygrpc RUN sed -i "/opentelemetry-exporter-otlp-proto-grpc/d" ./aws-opentelemetry-distro/pyproject.toml -RUN mkdir workspace && pip install --target workspace ./aws-opentelemetry-distro +RUN mkdir workspace && pip install 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