Unverified Commit b6c9be50 authored by Shengqi Chen's avatar Shengqi Chen Committed by GitHub
Browse files

[CI] fix possible user permission issues in nightly index generation (#39390)


Signed-off-by: default avatarShengqi Chen <harry-chen@outlook.com>
parent ed733802
...@@ -19,7 +19,7 @@ has_new_python=$($PYTHON -c "print(1 if __import__('sys').version_info >= (3,12) ...@@ -19,7 +19,7 @@ has_new_python=$($PYTHON -c "print(1 if __import__('sys').version_info >= (3,12)
if [[ "$has_new_python" -eq 0 ]]; then if [[ "$has_new_python" -eq 0 ]]; then
# use new python from docker # use new python from docker
docker pull python:3-slim docker pull python:3-slim
PYTHON="docker run --rm -v $(pwd):/app -w /app python:3-slim python3" PYTHON="docker run --rm -u $(id -u):$(id -g) -v $(pwd):/app -w /app python:3-slim python3"
fi fi
echo "Using python interpreter: $PYTHON" echo "Using python interpreter: $PYTHON"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment