mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-02 01:58:28 +02:00
convert Dockerfile to alpine linux
This commit is contained in:
@ -1,15 +1,28 @@
|
||||
## Usage:
|
||||
|
||||
(in git directory):
|
||||
```
|
||||
docker run --user=nobody -t testssl.sh example.com
|
||||
docker build -t mytestssl .
|
||||
docker run -t mytestssl example.com
|
||||
```
|
||||
|
||||
Or pull image from docker hub, then run:
|
||||
You can also supply command line options like:
|
||||
|
||||
``docker run -t mytestssl -p --header example.com``
|
||||
|
||||
Please keep in mind that any output file (--log, --html, --json etc.) will be created
|
||||
in the container.
|
||||
|
||||
|
||||
You can also pull the image from docker hub, then run:
|
||||
```
|
||||
docker run --user=nobody -t drwetter/testssl.sh example.com
|
||||
docker run -t drwetter/testssl.sh --pfs example.com
|
||||
```
|
||||
|
||||
This is a experimental version with Debian Linux. Don\'t rely on it!
|
||||
Things will break.
|
||||
Also if you don't provide a user, this docker container uses
|
||||
a non-root user.
|
||||
|
||||
This is an experimental version with Alpine Linux. Don\'t rely on it!
|
||||
|
||||
Besides the "latest" branch supported tags are currently "2.9dev" (equal to "latest"), and
|
||||
"2.9.5" = "stable": ``docker run -t drwetter/testssl.sh:stable example.com``.
|
||||
|
Reference in New Issue
Block a user