Skip to content

Commit 77df078

Browse files
committed
Update for RockyLinux 8
Signed-off-by: Yanchao Lu <[email protected]>
1 parent 4a9cd18 commit 77df078

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jenkins/BuildDockerImage.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def buildImage(config, imageKeyToTag)
285285
def TRITON_IMAGE = sh(script: "cd ${LLM_ROOT} && grep 'ARG TRITON_IMAGE=' docker/Dockerfile.multi | grep -o '=.*' | tr -d '=\"'", returnStdout: true).trim()
286286
def TRITON_BASE_TAG = sh(script: "cd ${LLM_ROOT} && grep 'ARG TRITON_BASE_TAG=' docker/Dockerfile.multi | grep -o '=.*' | tr -d '=\"'", returnStdout: true).trim()
287287

288+
if (target == "rockylinux8") {
289+
BASE_IMAGE = sh(script: "cd ${LLM_ROOT} && grep 'rockylinux8_%: BASE_IMAGE =' docker/Makefile | grep -o '=.*' | tr -d '=\"'", returnStdout: true).trim()
290+
}
291+
288292
// Replace the base image and triton image with the internal mirror
289293
BASE_IMAGE = BASE_IMAGE.replace("nvcr.io/", "urm.nvidia.com/docker/")
290294
TRITON_IMAGE = TRITON_IMAGE.replace("nvcr.io/", "urm.nvidia.com/docker/")

0 commit comments

Comments
 (0)