yandex / yandex-tank

Load and performance benchmark tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

des1roer opened this issue · comments

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