testssl.sh/Dockerfile

19 lines
384 B
Docker
Raw Permalink Normal View History

FROM alpine:latest
2017-11-19 16:14:30 +01:00
RUN apk update && apk upgrade
RUN apk add bash procps drill git coreutils
2017-11-19 16:14:30 +01:00
RUN addgroup testssl
RUN adduser -G testssl -g "testssl user" -s /bin/bash -D testssl
2017-11-19 16:14:30 +01:00
RUN ln -s /home/testssl/testssl.sh /usr/local/bin/
2017-11-19 16:14:30 +01:00
USER testssl
WORKDIR /home/testssl/
2017-11-19 16:14:30 +01:00
RUN git clone --depth=1 https://github.com/drwetter/testssl.sh.git .
ENTRYPOINT ["testssl.sh"]
2017-11-19 16:14:30 +01:00
CMD ["--help"]