Ignore pull deps when build (#18629)

Signed-off-by: Jenny Li <jing.li@zilliz.com>

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/18650/head
Jenny Li 2022-08-12 20:00:47 +08:00 committed by GitHub
parent b07a05b040
commit e93be80ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ if [[ "${CHECK_BUILDER:-}" == "1" ]]; then
fi
if [[ "$(id -u)" != "0" ]]; then
docker-compose run --rm -u "$uid:$gid" builder "$@"
docker-compose run --no-deps --rm -u "$uid:$gid" builder "$@"
else
docker-compose run --rm --entrypoint "/tini -- /entrypoint.sh" builder "$@"
docker-compose run --no-deps --rm --entrypoint "/tini -- /entrypoint.sh" builder "$@"
fi
popd