Replace curl-pipe-to-shell uv install with pinned pipx version#4
Replace curl-pipe-to-shell uv install with pinned pipx version#4
Conversation
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot added https://api.github.com/repos to firewall allowlist |
|
@copilot consider using pipx for uv installation to not break pip system packages. |
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
Done in a25eafe. Switched to |
|
@copilot make the uv version an argument in the Dockerfile for easier editing and overriding. |
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
|
@copilot latest uv version is 0.10.9 |
Co-authored-by: samppanja <21281919+samppanja@users.noreply.github.com>
|
@copilot ready to merge |
curl -LsSf https://astral.sh/uv/install.sh | shexecutes an unversioned remote script as root with no integrity check — a supply-chain risk ifastral.shor its DNS/TLS is compromised.Changes
pipx install "uv==${UV_VERSION}"UV_VERSIONbuild argument (default:0.10.9)curlfrom the image entirelydocker build --build-arg UV_VERSION=x.y.zpipxinstalls uv into its own isolated virtual environment and places the binary at/root/.local/bin/uv, which is already on the PATH via the existingENV PATH="/root/.local/bin/:$PATH"directive.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.