Add files or directory to an orchestra image.
Required parameters
Parameter |
Description |
-image <file> |
the file of orchestra image |
-type [JUNO|STANDALONE|ORCHESTRA] |
defines the type of the orchestra-artifact |
-targetImage <image> |
the name of output image the name of output image can be input in the format <image name>[:<tag>] •<image name> the name of image. •<tag> the image tag |
Optional parameters
Parameter |
Description |
-targetPath <directory> |
the directory of output image (default is the same as directory of orchestra image |
-copyLib <files or directories> |
the files or files in directories to be added to the library directory of orchestra (use | to separate multiple path). This switch can be used multiple times |
-copy <file or directory>|<target path>> |
the file or files in directory to be added to the specific directory of image. This switch can be used multiple times. •<file or directory> the file or directory to be copied •<target path> the target file or directory inside image |
-showStackTrace |
use this switch to show stack trace on the console. |
Batch mode
The batch mode is started, if the start script is launched with additional arguments.
|
Execution will be stopped if any required parameter is missing. |
Example |
Here we are executing the update image in batch mode.
./imagecomplier.sh
> updateImage -image <file> -targetPath <output directory> -targetImage <name>[:<tag>] -type <orchestra or juno> -copy <source file or directory>|<target> -copy <source file or directory>|<target> -copyLib <source file or directory> -copyLib <source file or directory>|<source file or directory> |