github.com/nak3/source-to-image@v1.1.10-0.20180319140719-2ed55639898d/test/integration/scripts/.s2i/bin/save-artifacts (about)

     1  #!/bin/sh
     2  touch /tmp/src/save-artifacts-invoked
     3  
     4  cd /tmp/src
     5  tar cf - .
     6  
     7  # Write some zeros to stdout to mimic the padding that Debian's tar adds
     8  # https://github.com/openshift/source-to-image/issues/301#issuecomment-263598586
     9  dd count=1 if=/dev/zero 2> /dev/null