File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,18 +4,19 @@ RUN apk add --no-cache bash procps drill coreutils libidn curl socat openssl xxd
44 && adduser -G testssl -g "testssl user" -s /bin/bash -D testssl \
55 && ln -s /home/testssl/testssl.sh /usr/local/bin/testssl.sh
66
7+ # Runtime config:
78USER testssl
89ENTRYPOINT ["testssl.sh"]
910CMD ["--help"]
1011
11- # Final image stage (add testssl.sh project files)
12+ # Final image stage (add ` testssl.sh` project files)
1213# Choose either one as the final stage (defaults to last stage, `dist-git`)
1314
14- # 30MB Image (Local repo copy from build context, uses `.dockerignore`):
15+ # 27MB Image (Local repo copy from build context, uses `.dockerignore`):
1516FROM base-alpine AS dist-local
1617COPY --chown=testssl:testssl . /home/testssl/
1718
18- # 38MB Image (Remote repo clone, cannot filter content through `.dockerignore`):
19+ # 35MB Image (Remote repo clone, cannot filter content through `.dockerignore`):
1920FROM base-alpine AS dist-git
2021ARG GIT_URL=https://github.com/testssl/testssl.sh.git
2122ARG GIT_BRANCH
You can’t perform that action at this time.
0 commit comments