mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 04:49:44 +01:00
Added Dockerfile.md, modified Dockerfile: pull with depth=1, default-cmd: --help
This commit is contained in:
parent
c366f09043
commit
2211a23bf0
@ -2,10 +2,12 @@ FROM debian:latest
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y git bsdmainutils dnsutils ldnsutils host
|
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/
|
RUN ln -s /testssl.sh/testssl.sh /usr/local/bin/
|
||||||
|
|
||||||
WORKDIR /testssl.sh/
|
WORKDIR /testssl.sh/
|
||||||
|
|
||||||
ENTRYPOINT ["testssl.sh","--openssl","/testssl.sh/bin/openssl.Linux.x86_64"]
|
ENTRYPOINT ["testssl.sh","--openssl","/testssl.sh/bin/openssl.Linux.x86_64"]
|
||||||
|
|
||||||
|
CMD ["--help"]
|
||||||
|
9
Dockerfile.md
Normal file
9
Dockerfile.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user