mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-30 20:31:15 +01:00
parent
7a60251ff9
commit
8a1e90767b
@ -26,7 +26,8 @@ FROM scratch
|
|||||||
ARG INSTALL_ROOT
|
ARG INSTALL_ROOT
|
||||||
COPY --link --from=builder ${INSTALL_ROOT} /
|
COPY --link --from=builder ${INSTALL_ROOT} /
|
||||||
# Create user + (home with SGID set):
|
# 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:x:1000:' >> /etc/group \
|
||||||
&& echo 'testssl:!::0:::::' >> /etc/shadow \
|
&& echo 'testssl:!::0:::::' >> /etc/shadow \
|
||||||
&& install --mode 2755 --owner testssl --group testssl --directory /home/testssl \
|
&& install --mode 2755 --owner testssl --group testssl --directory /home/testssl \
|
||||||
|
Loading…
Reference in New Issue
Block a user