From 2211a23bf05ff5c296734e92209a11239fa299e2 Mon Sep 17 00:00:00 2001 From: Christian Dresen Date: Thu, 30 Mar 2017 14:41:46 +0200 Subject: [PATCH] Added Dockerfile.md, modified Dockerfile: pull with depth=1, default-cmd: --help --- Dockerfile | 4 +++- Dockerfile.md | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Dockerfile.md diff --git a/Dockerfile b/Dockerfile index 513bba7..83b6f61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,12 @@ FROM debian:latest RUN apt-get update && apt-get install -y git bsdmainutils dnsutils ldnsutils host -RUN git clone https://github.com/drwetter/testssl.sh.git /testssl.sh/ +RUN git clone --depth=1 https://github.com/drwetter/testssl.sh.git /testssl.sh/ RUN ln -s /testssl.sh/testssl.sh /usr/local/bin/ WORKDIR /testssl.sh/ ENTRYPOINT ["testssl.sh","--openssl","/testssl.sh/bin/openssl.Linux.x86_64"] + +CMD ["--help"] diff --git a/Dockerfile.md b/Dockerfile.md new file mode 100644 index 0000000..1d16458 --- /dev/null +++ b/Dockerfile.md @@ -0,0 +1,9 @@ +## Usage: +``` +docker run -t testssl.sh example.com +``` + +Ability to pull image from docker hub: +``` +docker run -t dr4y/testssl.sh example.com +```