From 497dfe81997878a9a64fa54b11d3f5c1adf72d01 Mon Sep 17 00:00:00 2001 From: clsferguson <48876201+clsferguson@users.noreply.github.com> Date: Thu, 2 Oct 2025 09:46:23 -0600 Subject: [PATCH] chore(dockerfile): remove uv binary from image; rely on system-wide pip installs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the multi-stage COPY that brought uv (/uv and /uvx) into /usr/local/bin. This image targets system-wide package management with no virtual environments, and uv’s pip interface does not support the --user scheme, requiring either a venv or explicit --system usage. Eliminating uv avoids the “No virtual environment found” and “--user is unsupported” paths while keeping ComfyUI-Manager functional via standard pip. ComfyUI-Manager can be configured via config.ini (use_uv) and, with GitPython preinstalled system-wide, will skip any uv-based bootstrap during startup. --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a049f793..fb1f7dbfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,9 +50,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ && rm cuda-keyring_1.1-1_all.deb -# Install uv (latest) -COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/ - # Patch CUDA math_functions.h for glibc 2.41 compatibility RUN sed -i 's/extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ double sinpi(double x);/extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ double sinpi(double x) noexcept (true);/' /usr/local/cuda-12.9/include/crt/math_functions.h && \ sed -i 's/extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ float sinpif(float x);/extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ float sinpif(float x) noexcept (true);/' /usr/local/cuda-12.9/include/crt/math_functions.h && \