Skip to content

Commit

Permalink
Add gnupg gnupg1 gnupg2
Browse files Browse the repository at this point in the history
Needed for wget in arm
  • Loading branch information
KevDevSha authored May 17, 2024
1 parent b3dc69f commit 3a8442f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,19 @@ RUN if [ -n "$CUDA_VERSION" ]; then \
rm -f /etc/apt/sources.list.d/cuda.list && \
rm -f /etc/apt/sources.list.d/nvidia-ml.list && \
apt-get update && \
apt-get install -y --no-install-recommends wget && \
apt-get autoclean && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
apt-key del 7fa2af80 && \
mkdir -p /tmp/cuda-keyring && \
if [ "$TARGETARCH" = "amd64" ]; then \
apt-get install -y --no-install-recommends wget && \
wget -P /tmp/cuda-keyring https://developer.download.nvidia.com/compute/cuda/repos/${LINUX_DISTRO}${LINUX_DISTRO_VERSION}/x86_64/cuda-keyring_1.0-1_all.deb; \
else \
apt-get install -y gnupg gnupg1 gnupg2 && \
apt-get install -y --no-install-recommends wget && \
wget -P /tmp/cuda-keyring https://developer.download.nvidia.com/compute/cuda/repos/${LINUX_DISTRO}${LINUX_DISTRO_VERSION}/arm64/cuda-keyring_1.0-1_all.deb; \
fi && \
apt-get autoclean && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
apt-key del 7fa2af80 && \
dpkg -i /tmp/cuda-keyring/cuda-keyring_1.0-1_all.deb && \
rm -rf /tmp/cuda-keyring; \
fi
Expand Down

0 comments on commit 3a8442f

Please sign in to comment.