Skip to content

Commit 701d205

Browse files
pruthvistonydnikolaev-amd
authored andcommitted
Changes to support docker v23
Reversed the condition as required
1 parent 315a8e8 commit 701d205

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.ci/docker/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,15 @@ if [[ "$image" == *cuda* && ${OS} == "ubuntu" ]]; then
358358
fi
359359
fi
360360

361+
DOCKER_PROGRESS="--progress=plain"
362+
if [[ "${DOCKER_BUILDKIT}" == 0 ]]; then
363+
DOCKER_PROGRESS=""
364+
fi
365+
361366
# Build image
362367
DOCKER_BUILDKIT=1 docker build \
363368
--no-cache \
364-
--progress=plain \
369+
${DOCKER_PROGRESS} \
365370
--build-arg "BUILD_ENVIRONMENT=${image}" \
366371
--build-arg "PROTOBUF=${PROTOBUF:-}" \
367372
--build-arg "LLVMDEV=${LLVMDEV:-}" \

0 commit comments

Comments
 (0)