瀏覽代碼

Bring Back Temporary NVIDIA Repo Fix

Seungmin Kim 3 年之前
父節點
當前提交
1157bba013
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Dockerfile

+ 5 - 0
Dockerfile

@@ -29,6 +29,11 @@ ENV WEBRTC_ENABLE_RESIZE false
 ENV ENABLE_AUDIO true
 ENV ENABLE_AUDIO true
 ENV ENABLE_BASIC_AUTH true
 ENV ENABLE_BASIC_AUTH true
 
 
+# Temporary fix for NVIDIA container repository
+RUN apt-get clean && \
+    apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/$(cat /etc/os-release | grep '^ID=' | awk -F'=' '{print $2}')$(cat /etc/os-release | grep '^VERSION_ID=' | awk -F'=' '{print $2}' | sed 's/[^0-9]*//g')/x86_64/3bf863cc.pub" && \
+    rm -rf /var/lib/apt/lists/*
+
 # Install locales to prevent errors
 # Install locales to prevent errors
 RUN apt-get clean && \
 RUN apt-get clean && \
     apt-get update && apt-get install --no-install-recommends -y locales && \
     apt-get update && apt-get install --no-install-recommends -y locales && \