Skip to content

Instantly share code, notes, and snippets.

@sdaaish
Created March 29, 2019 15:45
Show Gist options
  • Save sdaaish/3da82bccc67fd7be453854f9c06c3913 to your computer and use it in GitHub Desktop.
Save sdaaish/3da82bccc67fd7be453854f9c06c3913 to your computer and use it in GitHub Desktop.
# Copy from https://raw.githubusercontent.com/drwetter/testssl.sh/2.9dev/Dockerfile
FROM alpine:latest
RUN apk update && \
apk upgrade && \
apk add bash procps drill git coreutils && \
apk add --no-cache curl
RUN addgroup testssl && \
adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \
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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment