File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- ARG BASE_IMAGE=nvidia/cuda:12.8.1-cudnn- devel-ubuntu22.04 \
1+ ARG BASE_IMAGE=nvidia/cuda:12.8.1-devel-ubuntu22.04 \
22 CONDA_VERSION=latest \
33 PYTHON_VERSION=3.12
44
@@ -11,7 +11,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
1111 TensorRT_ROOT=/opt/TensorRT-10.12.0.36 \
1212 CONDA_VERSION="${CONDA_VERSION}" \
1313 PATH="/workspace/miniconda3/bin:${PATH}" \
14- PYTHON_VERSION="${PYTHON_VERSION}"
14+ PYTHON_VERSION="${PYTHON_VERSION}" \
15+ LD_LIBRARY_PATH="/workspace/miniconda3/envs/comfystream/lib:${LD_LIBRARY_PATH}"
1516
1617# System dependencies
1718RUN apt update && apt install -yqq --no-install-recommends \
@@ -48,6 +49,7 @@ conda run -n comfystream --no-capture-output pip install wheel
4849
4950RUN apt-get remove --purge -y libcudnn9-cuda-12 libcudnn9-dev-cuda-12 || true && \
5051 apt-get autoremove -y && \
52+ rm -rf /usr/local/cuda/lib64/libcudnn* /usr/lib/x86_64-linux-gnu/libcudnn* && \
5153 rm -rf /var/lib/apt/lists/*
5254
5355# Install numpy<2.0.0 first
Original file line number Diff line number Diff line change 1- ARG BASE_IMAGE=nvidia/cuda:12.8.1-cudnn- devel-ubuntu22.04 \
1+ ARG BASE_IMAGE=nvidia/cuda:12.8.1-devel-ubuntu22.04 \
22 CONDA_VERSION=latest \
33 PYTHON_VERSION=3.12 \
44 CUDA_VERSION=12.8
@@ -112,7 +112,7 @@ RUN cd /workspace/opencv/build && \
112112 -D HAVE_opencv_python3=ON \
113113 -D WITH_NVCUVID=OFF \
114114 -D WITH_NVCUVENC=OFF \
115- .. && \
115+ .. && \
116116 make -j$(nproc) && \
117117 make install && \
118118 ldconfig
You can’t perform that action at this time.
0 commit comments