Merge pull request #2313 from polarathene/chore/dockerfile-remove-mkdir

chore: Remove redundant `mkdir`
This commit is contained in:
Dirk Wetter 2023-02-03 19:54:51 +01:00 committed by GitHub
commit 70237b2328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,7 @@ RUN apk update && \
rm -rf /var/cache/apk/* && \
addgroup testssl && \
adduser -G testssl -g "testssl user" -s /bin/bash -D 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/