Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
des1roer opened this issue May 12, 2023 · 0 comments
Open

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

des1roer opened this issue May 12, 2023 · 0 comments

Comments

@des1roer
Copy link

des1roer commented May 12, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant