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

Add support for assemble-user label

Add support for assemble-user label

Add support for assemble-user label

Add support for assemble-user label

Add support for assemble-user label

Add support for assemble-user label
This commit is contained in:
Ricardo Pchevuzinske Katz
2017-08-15 22:28:09 -03:00
committed by Ricardo Pchevuzinske Katz
parent aea5c8fa96
commit 48d9ae3ce9
4 changed files with 36 additions and 0 deletions

View File

@@ -76,6 +76,13 @@ and placing them into the appropriate directories inside the image. The workflow
1. Build any application artifacts.
1. Install the artifacts into locations appropriate for running.
In the case you need to assemble the Image using a different user than the runtime user defined
in ``USER`` directive of Dockerfile, you can achive this by the following ways:
1. use the `--assemble-user` in cmd line
1. use the label `io.openshift.s2i.assemble-user`
#### Example `assemble` script:
**NOTE**: All the examples are written in [Bash](http://www.gnu.org/software/bash/)