mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 22:30:19 +08:00
Use stable apt-get CLI interface instead of apt
This commit is contained in:
parent
36e19df686
commit
477f330415
@ -8,7 +8,7 @@ FROM python:3.12.11-bookworm AS comfyui-base
|
|||||||
ARG APT_EXTRA_PACKAGES
|
ARG APT_EXTRA_PACKAGES
|
||||||
|
|
||||||
# Install cmake, which is an indirect installation dependencies
|
# 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.
|
# Create a mount point for user-generated data.
|
||||||
RUN mkdir -p \
|
RUN mkdir -p \
|
||||||
@ -67,8 +67,8 @@ VOLUME [ "/data", "/comfyui/.venv", "/comfyui/custom_nodes", "/comfyui/models",
|
|||||||
USER root
|
USER root
|
||||||
|
|
||||||
# Install additional system dependencies
|
# Install additional system dependencies
|
||||||
RUN apt install -y --no-install-recommends $APT_EXTRA_PACKAGES \
|
RUN apt-get install -y --no-install-recommends $APT_EXTRA_PACKAGES \
|
||||||
&& apt clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Configure entrypoint
|
# Configure entrypoint
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user