mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-28 04:19:44 +01:00
19 lines
374 B
Docker
19 lines
374 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk update && apk upgrade
|
|
RUN apk add bash procps drill git
|
|
|
|
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"]
|