Merge pull request #688 from dr4y/2.9dev

Dockerfile for testssl.sh
This commit is contained in:
Dirk Wetter 2017-11-14 17:39:43 +01:00 committed by GitHub
commit 1a7b761f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM debian:latest
RUN apt-get update && apt-get install -y git bsdmainutils dnsutils ldnsutils host
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"]

9
Dockerfile.md Normal file
View File

@ -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
```