mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
f16ed46e76
... and at the same time allow correct local builds -- the default branch is 3.1dev at the moment. It still clones the repo from github which isn't needed. A pure copy command would be the best. However it might cause other problems. See also #1559
18 lines
411 B
Docker
18 lines
411 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/
|
|
|
|
RUN git clone -b 3.0 --depth=1 https://github.com/drwetter/testssl.sh.git .
|
|
|
|
ENTRYPOINT ["testssl.sh"]
|
|
|
|
CMD ["--help"]
|