We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f3385 commit 13993eaCopy full SHA for 13993ea
.circleci/docker/build.sh
@@ -328,6 +328,12 @@ else
328
DOCKERFILE_NAME="Dockerfile"
329
fi
330
331
+if [[ "$image" == *centos9* ]]; then
332
+ DOCKERFILE_NAME="Dockerfile.centos.stream"
333
+else
334
+ DOCKERFILE_NAME="Dockerfile"
335
+fi
336
+
337
# Build image
338
# TODO: build-arg THRIFT is not turned on for any image, remove it once we confirm
339
# it's no longer needed.
@@ -364,6 +370,7 @@ docker build \
364
370
--build-arg "KATEX=${KATEX:-}" \
365
371
--build-arg "ROCM_VERSION=${ROCM_VERSION:-}" \
366
372
--build-arg "PYTORCH_ROCM_ARCH=${PYTORCH_ROCM_ARCH:-gfx900;gfx906;gfx908}" \
373
+ --build-arg "IMAGE_NAME=${IMAGE_NAME}" \
367
374
-f $(dirname ${DOCKERFILE})/${DOCKERFILE_NAME} \
368
375
-t "$tmp_tag" \
369
376
"$@" \
0 commit comments