Skip to content

Commit

Permalink
Add key update mechanism for ci dockerfile (#292)
Browse files Browse the repository at this point in the history
* add entrypoint to all containers

* remove -e for pip installs

* add key update mechanism to ci dockerfile
  • Loading branch information
jperez999 authored May 9, 2022
1 parent 20ea0b1 commit 23eecb7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci/dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib

# Install packages
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update -y --fix-missing && \
apt install -y --no-install-recommends software-properties-common && \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"


RUN apt update -y --fix-missing && \
apt install -y --no-install-recommends software-properties-common && \
apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit 23eecb7

Please sign in to comment.