Skip to content

Commit c1346f2

Browse files
authored
chore: Update Dockerfile-alpine
1 parent 312f326 commit c1346f2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile-alpine

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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:
78
USER testssl
89
ENTRYPOINT ["testssl.sh"]
910
CMD ["--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`):
1516
FROM base-alpine AS dist-local
1617
COPY --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`):
1920
FROM base-alpine AS dist-git
2021
ARG GIT_URL=https://github.com/testssl/testssl.sh.git
2122
ARG GIT_BRANCH

0 commit comments

Comments
 (0)