From 5d90e7ff45b112204a4779111151546e17d13af2 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Wed, 5 Nov 2025 11:35:35 +0800 Subject: [PATCH] Add security flags to curl command in Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add --proto '=https' and --tlsv1.2 flags to prevent insecure HTTP redirects when downloading uv installer. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cdb41e..7721004 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get clean && rm -rf /var/lib/apt/lists/* # Install the latest uv release and expose it on PATH -RUN curl -LsSf --retry 3 --retry-delay 2 https://astral.sh/uv/install.sh | sh +RUN curl -LsSf --retry 3 --retry-delay 2 --proto '=https' --tlsv1.2 https://astral.sh/uv/install.sh | sh WORKDIR /app