From 6b4ea3fa1142928c5762904cf68b325e30abbde6 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Tue, 14 May 2024 16:15:30 -0400 Subject: [PATCH] fix(shell): enable optix with driver capabilities (#69) Fix #68 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6eb6878..1944e7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,8 +61,9 @@ ENV OPTICKS_CUDA_PREFIX=/usr/local/cuda ENV OPTICKS_OPTIX_PREFIX=${OPTIX_DIR} ENV OPTICKS_COMPUTE_CAPABILITY=52 ENV PYTHONPATH=${OPTICKS_HOME} -ENV LD_LIBRARY_PATH=${OPTICKS_PREFIX}/lib/:$LD_LIBRARY_PATH -ENV PATH=${OPTICKS_PREFIX}/lib:${PATH:+${PATH}} +ENV LD_LIBRARY_PATH=${OPTICKS_PREFIX}/lib:${LD_LIBRARY_PATH} +ENV PATH=${OPTICKS_PREFIX}/lib:${PATH} +ENV NVIDIA_DRIVER_CAPABILITIES=graphics,compute,utility WORKDIR $ESI_DIR