mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Merge pull request #456 from elezar/fix-ubi8-image-build
Remove unneeded repo manipulation
This commit is contained in:
commit
e1417bee64
@ -50,9 +50,6 @@ RUN GOPATH=/artifacts go install -ldflags="-s -w -X 'main.Version=${VERSION}'" .
|
|||||||
|
|
||||||
FROM nvidia/cuda:12.4.1-base-ubi8
|
FROM nvidia/cuda:12.4.1-base-ubi8
|
||||||
|
|
||||||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \
|
|
||||||
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.epel.cloud|g' /etc/yum.repos.d/CentOS-Linux-*
|
|
||||||
|
|
||||||
ENV NVIDIA_DISABLE_REQUIRE="true"
|
ENV NVIDIA_DISABLE_REQUIRE="true"
|
||||||
ENV NVIDIA_VISIBLE_DEVICES=void
|
ENV NVIDIA_VISIBLE_DEVICES=void
|
||||||
ENV NVIDIA_DRIVER_CAPABILITIES=utility
|
ENV NVIDIA_DRIVER_CAPABILITIES=utility
|
||||||
|
Loading…
Reference in New Issue
Block a user