github.com/nak3/source-to-image@v1.1.10-0.20180319140719-2ed55639898d/examples/nginx-centos7/s2i/bin/save-artifacts (about)

     1  #!/bin/sh -e
     2  #
     3  # S2I save-artifacts script for the 'nginx-centos7' image.
     4  # The save-artifacts script streams a tar archive to standard output.
     5  # The archive contains the files and folders you want to re-use in the next build.
     6  #
     7  # For more information see the documentation:
     8  #	https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
     9  #
    10  #tar cf - <your files here>