From 164a07e2be7854520070a7d845eec449405c4840 Mon Sep 17 00:00:00 2001 From: Hossein Khalilian Date: Thu, 10 Apr 2025 18:40:26 +0330 Subject: [PATCH] fix(docker): fallback to pip if uv is not available (#33087) --- docker/docker-bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/docker-bootstrap.sh b/docker/docker-bootstrap.sh index ebaec6c963d..fd017622a13 100755 --- a/docker/docker-bootstrap.sh +++ b/docker/docker-bootstrap.sh @@ -50,7 +50,11 @@ fi # if [ -f "${REQUIREMENTS_LOCAL}" ]; then echo "Installing local overrides at ${REQUIREMENTS_LOCAL}" - uv pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}" + if command -v uv > /dev/null 2>&1; then + uv pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}" + else + pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}" + fi else echo "Skipping local overrides" fi