Files
milvus-io--milvus/tests/python_client/Dockerfile
T
wehub-resource-sync 498b235461
Build and test / Build and test AMD64 Ubuntu 22.04 (push) Failing after 0s
Publish Builder / amazonlinux2023 (push) Failing after 1s
Build and test / UT for Go (push) Has been skipped
Publish KRTE Images / KRTE (push) Failing after 1s
Build and test / Integration Test (push) Has been skipped
Build and test / Upload Code Coverage (push) Has been skipped
Publish Builder / rockylinux9 (push) Failing after 1s
Publish Builder / ubuntu22.04 (push) Failing after 0s
Publish Builder / ubuntu24.04 (push) Failing after 0s
Publish Gpu Builder / publish-gpu-builder (push) Failing after 1s
Publish Test Images / PyTest (push) Failing after 0s
Build and test / UT for Cpp (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:31:17 +08:00

30 lines
837 B
Docker

FROM python:3.12-bullseye
RUN apt-get update && apt-get install -y jq
# Define the ARG variable
ARG PIP_TRUSTED_HOST=""
ARG PIP_INDEX_URL=""
ARG PIP_INDEX=""
ARG PIP_FIND_LINKS=""
# Set the ENV variable
ENV PIP_TRUSTED_HOST=${PIP_TRUSTED_HOST}
ENV PIP_INDEX_URL=${PIP_INDEX_URL}
ENV PIP_INDEX=${PIP_INDEX}
ENV PIP_FIND_LINKS=${PIP_FIND_LINKS}
WORKDIR /milvus
COPY tests/python_client/requirements.txt tests/python_client/requirements.txt
RUN cd tests/python_client && python3 -m pip install --upgrade setuptools \
&& python3 -m pip install --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt --timeout 30 --retries 6
COPY tests/python_client tests/python_client
COPY tests/restful_client tests/restful_client
COPY tests/restful_client_v2 tests/restful_client_v2
COPY tests/scripts tests/scripts