testssl.sh/Dockerfile
2019-12-03 23:10:06 +01:00

18 lines
404 B
Docker

FROM alpine:3.10
RUN apk update && apk upgrade && apk add --no-cache bash procps drill git coreutils libidn curl
RUN addgroup testssl
RUN adduser -G testssl -g "testssl user" -s /bin/bash -D testssl
RUN ln -s /home/testssl/testssl.sh /usr/local/bin/
USER testssl
WORKDIR /home/testssl/
RUN git clone --depth=1 https://github.com/drwetter/testssl.sh.git .
ENTRYPOINT ["testssl.sh"]
CMD ["--help"]