testssl.sh/Dockerfile
2020-05-07 20:42:43 +02:00

18 lines
345 B
Docker

FROM alpine:3.11
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/
COPY . ./
ENTRYPOINT ["testssl.sh"]
CMD ["--help"]