File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,14 @@ def buildImage(config, imageKeyToTag)
293
293
BASE_IMAGE = BASE_IMAGE . replace(" nvcr.io/" , " urm.nvidia.com/docker/" )
294
294
TRITON_IMAGE = TRITON_IMAGE . replace(" nvcr.io/" , " urm.nvidia.com/docker/" )
295
295
296
+ if (target == " rockylinux8" ) {
297
+ BASE_IMAGE = sh(script : " cd ${ LLM_ROOT} && grep 'jenkins-rockylinux8_%: BASE_IMAGE =' docker/Makefile | grep -o '=.*' | tr -d '=\" '" , returnStdout : true ). trim()
298
+ }
299
+
300
+ // Replace the base image and triton image with the internal mirror
301
+ BASE_IMAGE = BASE_IMAGE . replace(" nvcr.io/" , " urm.nvidia.com/docker/" )
302
+ TRITON_IMAGE = TRITON_IMAGE . replace(" nvcr.io/" , " urm.nvidia.com/docker/" )
303
+
296
304
if (dependent) {
297
305
stage (" make ${ dependent.target} _${ action} (${ arch} )" ) {
298
306
def randomSleep = (Math . random() * 300 + 300 ). toInteger()
You can’t perform that action at this time.
0 commit comments