Skip to content

Commit 8a1e907

Browse files
committed
add busybox link to tar
See #2403
1 parent 7a60251 commit 8a1e907

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ FROM scratch
2626
ARG INSTALL_ROOT
2727
COPY --link --from=builder ${INSTALL_ROOT} /
2828
# Create user + (home with SGID set):
29-
RUN echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
29+
RUN ln -s /usr/bin/busybox /usr/bin/tar \
30+
&& echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
3031
&& echo 'testssl:x:1000:' >> /etc/group \
3132
&& echo 'testssl:!::0:::::' >> /etc/shadow \
3233
&& install --mode 2755 --owner testssl --group testssl --directory /home/testssl \

0 commit comments

Comments
 (0)