1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00
Files
source-to-image/examples/nginx-centos7/s2i/bin/save-artifacts
2018-07-20 10:44:58 -04:00

13 lines
412 B
Bash
Executable File

#!/bin/sh -e
#
# S2I save-artifacts script for the 'nginx-centos7' image.
# The save-artifacts script streams a tar archive to standard output.
# The archive contains the files and folders you want to re-use in the next build.
#
# For more information see the documentation:
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
#
touch /tmp/artifact.txt
cd /tmp
tar cf - artifact.txt