[Misc] Add docker build env for Ascend NPU (#30015)

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang 2025-12-04 11:53:00 +08:00 committed by GitHub
parent 33a3d6c798
commit 5f91cdda75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,7 @@ FROM ${BASE_IMAGE_NAME}
# Define environments
ENV DEBIAN_FRONTEND=noninteractive
ENV SOC_VERSION="ascend910b1"
RUN pip config set global.index-url http://cache-service-vllm.nginx-pypi-cache.svc.cluster.local:${PYPI_CACHE_PORT}/pypi/simple && \
pip config set global.trusted-host cache-service-vllm.nginx-pypi-cache.svc.cluster.local && \