chore(dockerfile): remove uv binary from image; rely on system-wide pip installs

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.
This commit is contained in:
clsferguson 2025-10-02 09:46:23 -06:00 committed by GitHub
parent 2043b062a5
commit 497dfe8199
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 && \