Skip to content

Conversation

@NVolcz
Copy link
Contributor

@NVolcz NVolcz commented Apr 28, 2020

I wrote a minimal dockerfile so it is easier to use VHostScan without having to resolve local python dependencies. Example usage:

docker build -t vhostscan .
docker run --rm -it vhostscan -t

@codingo codingo merged commit 4a3a1ee into codingo:master Sep 1, 2020
@rafale0n
Copy link

@NVolcz Hello sir,

It seems like something broke... any chance you can be of assistance ?

╰─ docker build -t vhostscan . ─╯
Sending build context to Docker daemon 441.9kB
Step 1/6 : FROM ubuntu:latest
---> f643c72bc252
Step 2/6 : RUN mkdir /app
---> Using cache
---> 094a3d57c5fa
Step 3/6 : ADD . /app
---> Using cache
---> 34c39ce7d3ef
Step 4/6 : RUN apt-get update; apt-get install -y python3 python3-pip
---> Using cache
---> 7b325f96bb7c
Step 5/6 : RUN cd /app && pip3 install -r test-requirements.txt && python3 setup.py install
---> Running in 206bdda51edc
Collecting pytest==3.2.3
Downloading pytest-3.2.3-py2.py3-none-any.whl (187 kB)
Collecting pytest-mock==1.6.3
Downloading pytest_mock-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting pep8==1.7.0
Downloading pep8-1.7.0-py2.py3-none-any.whl (41 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pytest==3.2.3->-r test-requirements.txt (line 1)) (45.2.0)
Collecting py>=1.4.33
Downloading py-1.10.0-py2.py3-none-any.whl (97 kB)
Installing collected packages: py, pytest, pytest-mock, pep8
Successfully installed pep8-1.7.0 py-1.10.0 pytest-3.2.3 pytest-mock-1.6.3
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-2to_xl4k/numpy/setup.py'"'"'; file='"'"'/tmp/pip-wheel-2to_xl4k/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-li7qcye2
cwd: /tmp/pip-wheel-2to_xl4k/numpy/

and lots and lots of errors :(

@NVolcz
Copy link
Contributor Author

NVolcz commented Feb 17, 2021

Is this still a problem? Building the dockerfile on master works fine for me

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

Successfully merging this pull request may close these issues.

3 participants