From 901f76d794da6a227c1da93a2e6a4248e26133d8 Mon Sep 17 00:00:00 2001 From: "B. Bergeron" Date: Mon, 25 Aug 2025 22:21:07 -0400 Subject: [PATCH] Use stable apt-get CLI interface instead of apt --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 592b6a4fa..ce43bfbac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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