mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 12:44:54 +01:00
Allow incremental --as-dockerfile builds. Trello card: https://trello.com/c/P6TZg0wO/1582-5-builds-s2i-incremental-build-as-dockerfile
13 lines
412 B
Bash
Executable File
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
|