Merge pull request #456 from elezar/fix-ubi8-image-build

Remove unneeded repo manipulation
This commit is contained in:
Evan Lezar 2024-04-11 16:54:31 +02:00 committed by GitHub
commit e1417bee64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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