Browse files

convert Dockerfile to alpine linux

  • Loading branch information...
drwetter committed Feb 8, 2018
1 parent 364011b commit cbe38cc4bba6004d3cfd07c58a39fe239453de9d
Showing with 29 additions and 11 deletions.
  1. +11 −6 Dockerfile
  2. +18 −5
@@ -1,13 +1,18 @@
FROM debian:latest
FROM alpine:latest
RUN apt-get update && apt-get install -y git bsdmainutils ldnsutils procps
RUN apk update && apk upgrade
RUN apk add bash procps drill git
RUN git clone --depth=1 /
RUN addgroup testssl
RUN adduser -G testssl -g "testssl user" -s /bin/bash -D testssl
RUN ln -s / /usr/local/bin/
RUN ln -s /home/testssl/ /usr/local/bin/
USER testssl
WORKDIR /home/testssl/
ENTRYPOINT ["","--openssl","/"]
RUN git clone --depth=1 .
CMD ["--help"]
@@ -1,15 +1,28 @@
## Usage:
(in git directory):
docker run --user=nobody -t
docker build -t mytestssl .
docker run -t mytestssl
Or pull image from docker hub, then run:
You can also supply command line options like:
``docker run -t mytestssl -p --header``
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/
docker run -t drwetter/ --pfs
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/``.

0 comments on commit cbe38cc

Please sign in to comment.