Skip to content

Commit 76b8f0c

Browse files
committed
chore: Remove redundant mkdir
- If local folder ownership is for example `644` it will fail to handle the `COPY` regardless (while `744` would work). - Creating the directory with higher permissions in the container does not appear to help.
1 parent e02e8be commit 76b8f0c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ RUN apk update && \
66
rm -rf /var/cache/apk/* && \
77
addgroup testssl && \
88
adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \
9-
ln -s /home/testssl/testssl.sh /usr/local/bin/ && \
10-
mkdir -m 755 -p /home/testssl/etc /home/testssl/bin
9+
ln -s /home/testssl/testssl.sh /usr/local/bin/
1110

1211
USER testssl
1312
WORKDIR /home/testssl/

0 commit comments

Comments
 (0)