Merge pull request #2323 from drwetter/drwetter-patch-4

Remove mkdir in Dockerfile
This commit is contained in:
Dirk Wetter 2023-02-07 10:29:08 +01:00 committed by GitHub
commit 363c0d0a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

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