yandex / yandex-tank

Load and performance benchmark tool
Other
2.46k stars 280 forks source link

yandextank==1.21.0) does not appear to be a Python project #888

Open des1roer opened 1 year ago

des1roer commented 1 year ago

Dockerfile

FROM debian:latest

RUN apt-get update && apt-get install -y python3-pip build-essential python3-dev libffi-dev gfortran libssl-dev

RUN pip3 install --no-cache-dir --upgrade pip --upgrade setuptools

RUN pip3 install https://api.github.com/repos/yandex/yandex-tank/tarball/master

ENTRYPOINT ["yandex-tank"]

docker-compose.yaml

version: '3'

networks:
  ya-tank:
    driver: "bridge"

services:
  ya-tank:
    container_name: ya-tank
    build:
      context:    .
      dockerfile: Dockerfile
    networks:
      - ya-tank

падает на шаге 4

=> ERROR [4/4] RUN pip3 install https://api.github.com/repos/yandex/yandex-tank/tarball/master                                                                                                                                                                         8.5s
------                                                                                                                                                                                                                                                                       
 > [4/4] RUN pip3 install https://api.github.com/repos/yandex/yandex-tank/tarball/master:                                                                                                                                                                                    
#0 0.553 Collecting https://api.github.com/repos/yandex/yandex-tank/tarball/master                                                                                                                                                                                           
#0 1.395   Downloading https://api.github.com/repos/yandex/yandex-tank/tarball/master (2.5 MB)                                                                                                                                                                               
#0 2.105      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 3.5 MB/s eta 0:00:00                                                                                                                                                                                       
#0 2.237   Preparing metadata (setup.py): started                                                                                                                                                                                                                            
#0 8.068   Preparing metadata (setup.py): finished with status 'done'
#0 8.098 Processing /tmp/pip-req-build-e804fb40/netort (from yandextank==1.21.0)
#0 8.099 ERROR: netort@ file:///tmp/pip-req-build-e804fb40/netort from file:///tmp/pip-req-build-e804fb40/netort (from yandextank==1.21.0) does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
------
failed to solve: executor failed running [/bin/sh -c pip3 install https://api.github.com/repos/yandex/yandex-tank/tarball/master]: exit code: 1