mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 04:49:44 +01:00
Merge pull request #2312 from polarathene/chore/dockerfile-simplify-user
chore(Dockerfile): Simplify `testssl` user creation
This commit is contained in:
commit
1ee21b7f22
@ -4,9 +4,9 @@ RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add bash procps drill git coreutils libidn curl socat openssl xxd && \
|
||||
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/
|
||||
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
|
||||
|
||||
USER testssl
|
||||
WORKDIR /home/testssl/
|
||||
|
Loading…
Reference in New Issue
Block a user