Skip to content

Commit

Permalink
Merge pull request #2407 from drwetter/fix_2403_Dockerfile_tar
Browse files Browse the repository at this point in the history
add busybox link to tar
  • Loading branch information
drwetter authored Oct 3, 2023
2 parents 4c90cf6 + 39217eb commit 96d82e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 96d82e2

Please sign in to comment.