mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 12:59:44 +01:00
Merge pull request #2407 from drwetter/fix_2403_Dockerfile_tar
add busybox link to tar
This commit is contained in:
commit
96d82e2dff
@ -26,7 +26,8 @@ FROM scratch
|
||||
ARG INSTALL_ROOT
|
||||
COPY --link --from=builder ${INSTALL_ROOT} /
|
||||
# Create user + (home with SGID set):
|
||||
RUN echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
|
||||
RUN ln -s /usr/bin/busybox /usr/bin/tar \
|
||||
&& echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
|
||||
&& echo 'testssl:x:1000:' >> /etc/group \
|
||||
&& echo 'testssl:!::0:::::' >> /etc/shadow \
|
||||
&& install --mode 2755 --owner testssl --group testssl --directory /home/testssl \
|
||||
|
Loading…
Reference in New Issue
Block a user