diff --git a/deployments/container/Dockerfile.centos b/deployments/container/Dockerfile.ubi8 similarity index 98% rename from deployments/container/Dockerfile.centos rename to deployments/container/Dockerfile.ubi8 index bedf3af5..1a12f095 100644 --- a/deployments/container/Dockerfile.centos +++ b/deployments/container/Dockerfile.ubi8 @@ -51,7 +51,7 @@ RUN GOPATH=/artifacts go install -ldflags="-s -w -X 'main.Version=${VERSION}'" . 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-* \ + 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_VISIBLE_DEVICES=void diff --git a/deployments/container/Makefile b/deployments/container/Makefile index ee0dd2ec..9bc2d8d9 100644 --- a/deployments/container/Makefile +++ b/deployments/container/Makefile @@ -111,7 +111,7 @@ $(BUILD_TARGETS): build-%: $(ARTIFACTS_ROOT) build-ubuntu%: DOCKERFILE_SUFFIX := ubuntu build-ubuntu%: PACKAGE_DIST = ubuntu18.04 -build-ubi8: DOCKERFILE_SUFFIX := centos +build-ubi8: DOCKERFILE_SUFFIX := ubi8 build-ubi8: PACKAGE_DIST = centos7 build-packaging: DOCKERFILE_SUFFIX := packaging