1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

Issue 183 - migrated STI_SCRIPTS_URL and STI_LOCATION environment

variables to io.openshift.sti.scripts-url and
io.openshift.sti.location labels.
This commit is contained in:
Maciej Szulik
2015-05-25 14:53:13 +02:00
parent bf32106dbc
commit ded1aaa5d8
12 changed files with 150 additions and 45 deletions

View File

@@ -15,8 +15,8 @@ final docker image, the three are: sources, scripts and builder image. During th
build process sti must place sources and scripts inside that builder image. To do
so sti creates a tar file containing the two and then streams that file into the
builder image. Before executing `assemble` script, sti untars that file and places
its contents into the location specified with `--location` flag or `STI_LOCATION`
environment variable from the builder image (default location is `/tmp`). For this
its contents into the location specified with `--location` flag or `io.openshift.sti.location`
label from the builder image (default location is `/tmp`). For this
to happen your image must supply tar archiving utility (command `tar` available in `$PATH`)
and command line interpreter (command `/bin/sh`). Doing so will allow your image to
use the fastest possible build path, because in all other cases when either