codingo / VHostScan

A virtual host scanner that performs reverse lookups, can be used with pivot tools, detect catch-all scenarios, work around wildcards, aliases and dynamic default pages.
GNU General Public License v3.0
1.19k stars 231 forks source link

Dockerfile #117

Closed NVolcz closed 4 years ago

NVolcz commented 4 years ago

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
rafale0n commented 3 years ago

@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 commented 3 years ago

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