Remove mkdir in Dockerfile

see https://github.com/drwetter/testssl.sh/pull/2312#pullrequestreview-1286620850
This commit is contained in:
Dirk Wetter 2023-02-07 10:28:26 +01:00 committed by GitHub
parent 1ee21b7f22
commit f914423978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,7 @@ RUN apk update && \
apk add bash procps drill git coreutils libidn curl socat openssl xxd && \
rm -rf /var/cache/apk/* && \
adduser -D -s /bin/bash testssl && \
ln -s /home/testssl/testssl.sh /usr/local/bin/ && \
mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
ln -s /home/testssl/testssl.sh /usr/local/bin/
USER testssl
WORKDIR /home/testssl/