[CI] Fix R build on Jenkins. (#8154)

This commit is contained in:
Jiaming Yuan 2022-08-11 14:50:03 +08:00 committed by GitHub
parent 570f8ae4ba
commit d868126c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@ ARG CUDA_VERSION_ARG
# Install all basic requirements # Install all basic requirements
RUN \ RUN \
rpm --erase gpg-pubkey-7fa2af80* && \
curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/D42D0685.pub | sed '/^Version/d' \ curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/D42D0685.pub | sed '/^Version/d' \
> /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA && \ > /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA && \
yum install -y epel-release centos-release-scl && \ yum install -y epel-release centos-release-scl && \