Dockerfile 945 B

12345678910111213141516171819202122
  1. # Copyright (C) 2019-2020 Zilliz. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
  4. # with the License. You may obtain a copy of the License at
  5. #
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. #
  8. # Unless required by applicable law or agreed to in writing, software distributed under the License
  9. # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  10. # or implied. See the License for the specific language governing permissions and limitations under the License.
  11. FROM python:3.8-buster
  12. RUN apt-get update && apt-get install -y jq
  13. COPY ./tests/python_client/requirements.txt /requirements.txt
  14. RUN python3 -m pip install --upgrade setuptools \
  15. && python3 -m pip install --upgrade pip \
  16. && python3 -m pip install --no-cache-dir -r /requirements.txt --timeout 30 --retries 6
  17. CMD ["tail", "-f", "/dev/null"]