Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docker/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04 \
ARG BASE_IMAGE=nvidia/cuda:12.8.1-devel-ubuntu22.04 \
CONDA_VERSION=latest \
PYTHON_VERSION=3.12

Expand All @@ -11,7 +11,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
TensorRT_ROOT=/opt/TensorRT-10.12.0.36 \
CONDA_VERSION="${CONDA_VERSION}" \
PATH="/workspace/miniconda3/bin:${PATH}" \
PYTHON_VERSION="${PYTHON_VERSION}"
PYTHON_VERSION="${PYTHON_VERSION}" \
LD_LIBRARY_PATH="/workspace/miniconda3/envs/comfystream/lib:${LD_LIBRARY_PATH}"

# System dependencies
RUN apt update && apt install -yqq --no-install-recommends \
Expand Down Expand Up @@ -48,6 +49,7 @@ conda run -n comfystream --no-capture-output pip install wheel

RUN apt-get remove --purge -y libcudnn9-cuda-12 libcudnn9-dev-cuda-12 || true && \
apt-get autoremove -y && \
rm -rf /usr/local/cuda/lib64/libcudnn* /usr/lib/x86_64-linux-gnu/libcudnn* && \
rm -rf /var/lib/apt/lists/*

# Install numpy<2.0.0 first
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.opencv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04 \
ARG BASE_IMAGE=nvidia/cuda:12.8.1-devel-ubuntu22.04 \
CONDA_VERSION=latest \
PYTHON_VERSION=3.12 \
CUDA_VERSION=12.8
Expand Down Expand Up @@ -112,7 +112,7 @@ RUN cd /workspace/opencv/build && \
-D HAVE_opencv_python3=ON \
-D WITH_NVCUVID=OFF \
-D WITH_NVCUVENC=OFF \
.. && \
.. && \
make -j$(nproc) && \
make install && \
ldconfig
Expand Down