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 6ef4a28 commit 5cc8606Copy full SHA for 5cc8606
.circleci/docker/build.sh
@@ -329,6 +329,12 @@ else
329
DOCKERFILE_NAME="Dockerfile"
330
fi
331
332
+if [[ "$image" == *centos9* ]]; then
333
+ DOCKERFILE_NAME="Dockerfile.centos.stream"
334
+else
335
+ DOCKERFILE_NAME="Dockerfile"
336
+fi
337
+
338
# Build image
339
# TODO: build-arg THRIFT is not turned on for any image, remove it once we confirm
340
# it's no longer needed.
@@ -365,6 +371,7 @@ docker build \
365
371
--build-arg "KATEX=${KATEX:-}" \
366
372
--build-arg "ROCM_VERSION=${ROCM_VERSION:-}" \
367
373
--build-arg "PYTORCH_ROCM_ARCH=${PYTORCH_ROCM_ARCH:-gfx900;gfx906;gfx908}" \
374
+ --build-arg "IMAGE_NAME=${IMAGE_NAME}" \
368
375
-f $(dirname ${DOCKERFILE})/${DOCKERFILE_NAME} \
369
376
-t "$tmp_tag" \
370
377
"$@" \
0 commit comments