comfyui (762668857dc17bd27a09156851fafc2175f212b8)

Published 2026-05-14 02:53:36 +00:00 by cinnabrad

Installation

docker pull git.bun.cafe/cinnabrad/comfyui:762668857dc17bd27a09156851fafc2175f212b8
sha256:f307988b4619d1381ca5c9d8a4986e8806880940f97c1a2f0a215ec13bb45d29

About this package

Image containing a minimal environment for containers based on openSUSE Tumbleweed.

Image layers

KIWI 10.2.38
LABEL maintainer=YAN Wenkun <code@yanwk.fun>
RUN /bin/sh -c zypper addrepo --check --refresh --priority 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/' packman-essentials && zypper --gpg-auto-import-keys install --no-confirm --auto-agree-with-licenses python313-devel python313-pip python313-wheel python313-setuptools python313-Cython python313-py-build-cmake python313-matplotlib python313-mpmath python313-numba-devel python313-pandas python313-scikit-build python313-scikit-build-core-pyproject python313-scikit-image python313-scikit-learn python313-scipy # buildkit
RUN /bin/sh -c zypper --gpg-auto-import-keys install --no-confirm --auto-agree-with-licenses python313-opencv opencv opencv-devel Mesa-libGL1 Mesa-libEGL-devel libgthread-2_0-0 libQt5OpenGL5 # buildkit
RUN /bin/sh -c zypper --gpg-auto-import-keys install --no-confirm --auto-agree-with-licenses python313-ffmpeg-python python313-imageio python313-svglib ffmpeg x264 x265 python313-GitPython python313-pygit2 git # buildkit
RUN /bin/sh -c zypper --gpg-auto-import-keys install --no-confirm --auto-agree-with-licenses make bison gawk ninja aria2 findutils fish fd fuse vim which google-noto-sans-fonts && rm -v /usr/lib64/python3.13/EXTERNALLY-MANAGED && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 100 # buildkit
ENV LD_PRELOAD=/usr/lib64/libjpeg.so.8
ENV CMAKE_POLICY_VERSION_MINIMUM=3.5
RUN /bin/sh -c zypper --gpg-auto-import-keys install --no-confirm --auto-agree-with-licenses gcc15 gcc15-c++ cpp15 && update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-15 90 && update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-15 90 && update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-15 90 && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-15 90 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 90 && update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-15 90 && update-alternatives --install /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-15 90 && update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-15 90 && update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-15 90 && update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-15 90 && update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-15 90 # buildkit
RUN /bin/sh -c pip list && pip install --upgrade pip wheel setuptools # buildkit
RUN /bin/sh -c pip install --dry-run torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130 2>&1 | tee /tmp/pip-dryrun.txt && grep -oP '(?<=Would install ).*' /tmp/pip-dryrun.txt > /tmp/packages.txt && grep -oP 'nvidia-\S+-\S+' /tmp/packages.txt | sed 's/\(.*\)-\([^-]*\)$/\1==\2/' > /tmp/packages-nvidia.txt && echo "========== NVIDIA Packages ==========" && cat /tmp/packages-nvidia.txt && echo "=====================================" # buildkit
RUN /bin/sh -c pip install --no-deps "$(grep '^nvidia-cublas' /tmp/packages-nvidia.txt)" --index-url https://download.pytorch.org/whl/cu130 # buildkit
RUN /bin/sh -c pip install --no-deps "$(grep '^nvidia-cudnn' /tmp/packages-nvidia.txt)" --index-url https://download.pytorch.org/whl/cu130 # buildkit
RUN /bin/sh -c head -n 5 /tmp/packages-nvidia.txt | while read -r pkg; do pip install --no-deps "$pkg" --index-url https://download.pytorch.org/whl/cu130; done # buildkit
RUN /bin/sh -c sed -n '6,10p' /tmp/packages-nvidia.txt | while read -r pkg; do pip install --no-deps "$pkg" --index-url https://download.pytorch.org/whl/cu130; done # buildkit
RUN /bin/sh -c tail -n +11 /tmp/packages-nvidia.txt | while read -r pkg; do pip install --no-deps "$pkg" --index-url https://download.pytorch.org/whl/cu130; done # buildkit
RUN /bin/sh -c pip install --no-deps "$(grep -oP 'torch-\S+' /tmp/packages.txt | sed 's/\(.*\)-\([^-]*\)$/\1==\2/')" --index-url https://download.pytorch.org/whl/cu130 && rm -v /tmp/pip-dryrun.txt /tmp/packages.txt /tmp/packages-nvidia.txt # buildkit
RUN /bin/sh -c pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130 # buildkit
ENV LD_LIBRARY_PATH=/usr/local/lib64/python3.13/site-packages/torch/lib:/usr/local/lib/python3.13/site-packages/nvidia/cu13/lib:/usr/local/lib/python3.13/site-packages/nvidia/cudnn/lib:/usr/local/lib/python3.13/site-packages/nvidia/cusparselt/lib:/usr/local/lib/python3.13/site-packages/nvidia/nccl/lib:/usr/local/lib/python3.13/site-packages/nvidia/nvshmem/lib
COPY builder-scripts/. /builder-scripts/ # buildkit
RUN /bin/sh -c pip list --format=freeze | awk -F== 'BEGIN{want["torch"]=1;want["torchvision"]=1;want["torchaudio"]=1} $1 in want{print $1 "==" $2}' > /builder-scripts/constraints.txt && echo "Pinned PyTorch version:" && cat /builder-scripts/constraints.txt # buildkit
RUN /bin/sh -c pip install -c /builder-scripts/constraints.txt -r /builder-scripts/pak3.txt # buildkit
RUN /bin/sh -c pip install -c /builder-scripts/constraints.txt -r /builder-scripts/pak5.txt # buildkit
RUN /bin/sh -c pip install -c /builder-scripts/constraints.txt -r /builder-scripts/pak7.txt # buildkit
WORKDIR /default-comfyui-bundle
RUN /bin/sh -c bash /builder-scripts/preload-cache.sh # buildkit
RUN /bin/sh -c pip install -c /builder-scripts/constraints.txt -r '/default-comfyui-bundle/ComfyUI/requirements.txt' -r '/default-comfyui-bundle/ComfyUI/custom_nodes/ComfyUI-Manager/requirements.txt' && pip list # buildkit
RUN /bin/sh -c du -ah /root && rm -rfv /root/* && rm -rfv /root/.[^.]* /root/.??* # buildkit
COPY runner-scripts/. /runner-scripts/ # buildkit
USER root
VOLUME [/root]
WORKDIR /root
EXPOSE [8188/tcp]
ENV CLI_ARGS=
CMD ["bash" "/runner-scripts/entrypoint.sh"]
COPY /wheels/*.whl /tmp/wheels/ # buildkit
RUN /bin/sh -c pip install --no-cache-dir torch==2.11.0+cu130 torchvision==0.26.0+cu130 torchaudio==2.11.0+cu130 --index-url https://download.pytorch.org/whl/cu130 # buildkit
RUN /bin/sh -c pip install --no-cache-dir /tmp/wheels/*.whl && rm -rf /tmp/wheels # buildkit
RUN /bin/sh -c pip install --no-cache-dir PyWavelets natsort pyhocon pykalman markdownify ollama qwen-vl-utils soundfile librosa lpips openai-agents # buildkit
RUN /bin/sh -c python3 -c "import torch; print('torch:', torch.__version__); import sageattention; print('sageattention: ok')" # buildkit
COPY shell-bridge /comfyui/custom_nodes/comfy-shell-bridge # buildkit
RUN /bin/sh -c id comfyui 2>/dev/null || useradd -u 1000 -m comfyui # buildkit
USER comfyui

Labels

Key Value
maintainer YAN Wenkun <code@yanwk.fun>
org.openbuildservice.disturl obs://build.opensuse.org/openSUSE:Factory/images/021a925949f022d666ab1a93b7179255-opensuse-tumbleweed-image:docker
org.opencontainers.image.created 2026-04-12T02:47:04.681497569Z
org.opencontainers.image.description Image containing a minimal environment for containers based on openSUSE Tumbleweed.
org.opencontainers.image.source https://build.opensuse.org/package/show/openSUSE:Factory/opensuse-tumbleweed-image?rev=021a925949f022d666ab1a93b7179255
org.opencontainers.image.title openSUSE Tumbleweed Base Container
org.opencontainers.image.url https://www.opensuse.org
org.opencontainers.image.vendor openSUSE Project
org.opencontainers.image.version 20260411.35.120
org.opensuse.base.created 2026-04-12T02:47:04.681497569Z
org.opensuse.base.description Image containing a minimal environment for containers based on openSUSE Tumbleweed.
org.opensuse.base.disturl obs://build.opensuse.org/openSUSE:Factory/images/021a925949f022d666ab1a93b7179255-opensuse-tumbleweed-image:docker
org.opensuse.base.lifecycle-url https://en.opensuse.org/Lifetime
org.opensuse.base.reference registry.opensuse.org/opensuse/tumbleweed:20260411.35.120
org.opensuse.base.source https://build.opensuse.org/package/show/openSUSE:Factory/opensuse-tumbleweed-image?rev=021a925949f022d666ab1a93b7179255
org.opensuse.base.title openSUSE Tumbleweed Base Container
org.opensuse.base.url https://www.opensuse.org
org.opensuse.base.vendor openSUSE Project
org.opensuse.base.version 20260411.35.120
org.opensuse.lifecycle-url https://en.opensuse.org/Lifetime
org.opensuse.reference registry.opensuse.org/opensuse/tumbleweed:20260411.35.120
Details
Container
2026-05-14 02:53:36 +00:00
3
OCI / Docker
linux/amd64
4.7 GiB
Versions (10) View all