diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..2d2ecd6 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ec7315f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:2.7.13-alpine + +RUN pip install dnsyo --upgrade + +CMD dnsyo --help diff --git a/README.md b/README.md index 0654c6c..87bcd37 100644 --- a/README.md +++ b/README.md @@ -104,3 +104,9 @@ DNSYO is released under the MIT licence, see `LICENCE.txt` for more info ##Documentation Module documentation is available for dnsyo, you can view the module documentation as generated by [epydoc](https://www.codesam.co.uk/files/dnsyo/docs/epydoc/) or [docco](https://www.codesam.co.uk/files/dnsyo/docs/docco/dnsyo.html) + +##Docker +###Build +docker build -t dnsyo . +###Run +docker run --rm -it dnsyo dnsyo -t 100 -q ALL example.com