From 9d1c6eface8f689465eca9165762353963910556 Mon Sep 17 00:00:00 2001 From: Luca Iovio Date: Wed, 1 Feb 2017 16:49:05 +0100 Subject: [PATCH] added dockerfile with custom readme section --- .dockerignore | 1 + Dockerfile | 5 +++++ README.md | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile 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