You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by we...@apache.org on 2022/05/12 21:39:16 UTC
[incubator-mxnet] branch v1.9.1-test updated: update cuda key for cd docker image build
This is an automated email from the ASF dual-hosted git repository.
weichu pushed a commit to branch v1.9.1-test
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.9.1-test by this push:
new 4b1158e029 update cuda key for cd docker image build
4b1158e029 is described below
commit 4b1158e0294ee3f3ca6429c63e72200f6b785711
Author: Wei Chu <we...@amazon.com>
AuthorDate: Thu May 12 14:38:35 2022 -0700
update cuda key for cd docker image build
---
cd/python/docker/Dockerfile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cd/python/docker/Dockerfile b/cd/python/docker/Dockerfile
index 16d20832eb..cd071f570e 100644
--- a/cd/python/docker/Dockerfile
+++ b/cd/python/docker/Dockerfile
@@ -23,6 +23,9 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
+# update cuda repo key: https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/
+RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/3bf863cc.pub
+
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:deadsnakes/ppa && \