Skip to content

Commit

Permalink
Merge pull request #22 from NVIDIA-ISAAC-ROS/hemalshahNV-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile x86_64 to install nvidia apt-get keys
  • Loading branch information
hemalshahNV authored May 23, 2022
2 parents ae7404a + 954c4f7 commit db2f8a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/Dockerfile.x86_64.base
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ FROM ${BASE_IMAGE}
# disable terminal interaction for apt
ENV DEBIAN_FRONTEND=noninteractive

# NVIDIA repository keys: https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/
RUN apt-key del 7fa2af80 && mkdir -p /tmp && cd /tmp \
&& wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb \
&& dpkg -i cuda-keyring_1.0-1_all.deb \
&& rm cuda-keyring_1.0-1_all.deb \
&& add-apt-repository --remove 'deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /'

# Fundamentals
RUN apt-get update && apt-get install -y \
bash-completion \
Expand Down

0 comments on commit db2f8a7

Please sign in to comment.