Skip to content

Commit 23eecb7

Browse files
authored
Add key update mechanism for ci dockerfile (#292)
* add entrypoint to all containers * remove -e for pip installs * add key update mechanism to ci dockerfile
1 parent 20ea0b1 commit 23eecb7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/dockerfile.ci

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib
3030

3131
# Install packages
3232
ENV DEBIAN_FRONTEND=noninteractive
33+
34+
RUN apt update -y --fix-missing && \
35+
apt install -y --no-install-recommends software-properties-common && \
36+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
37+
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
38+
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \
39+
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
40+
41+
3342
RUN apt update -y --fix-missing && \
3443
apt install -y --no-install-recommends software-properties-common && \
3544
apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)