소스 검색

Improve reliability

Seungmin Kim 1 년 전
부모
커밋
2bea6bda97
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      entrypoint.sh

+ 1 - 0
entrypoint.sh

@@ -61,6 +61,7 @@ if ! command -v nvidia-xconfig >/dev/null 2>&1; then
   fi
   if [ -f "/tmp/NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" ]; then
     # Extract installer before installing
+    rm -rf "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}"
     sh "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}.run" -x
     cd "NVIDIA-Linux-${NVIDIA_DRIVER_ARCH}-${NVIDIA_DRIVER_VERSION}"
     # Run NVIDIA driver installation without the kernel modules and host components