Use stable apt-get CLI interface instead of apt

This commit is contained in:
B. Bergeron 2025-08-25 22:21:07 -04:00
parent 5a8f5ed69d
commit 901f76d794
No known key found for this signature in database
GPG Key ID: 20A0A88F22238925

View File

@ -8,7 +8,7 @@ FROM python:3.12.11-bookworm AS comfyui-base
ARG APT_EXTRA_PACKAGES
# Install cmake, which is an indirect installation dependencies
RUN apt update && apt install -y --no-install-recommends cmake
RUN apt-get update && apt-get install -y --no-install-recommends cmake
# Create a mount point for user-generated data.
RUN mkdir -p \
@ -67,8 +67,8 @@ VOLUME [ "/data", "/comfyui/.venv", "/comfyui/custom_nodes", "/comfyui/models",
USER root
# Install additional system dependencies
RUN apt install -y --no-install-recommends $APT_EXTRA_PACKAGES \
&& apt clean \
RUN apt-get install -y --no-install-recommends $APT_EXTRA_PACKAGES \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Configure entrypoint