Using build.exe to Build Docker Containers from the Command Line
InstallAnywhere 2021
You can use the InstallAnywhere command-line build tool (build.exe) to build Docker containers for the container configurations in an InstallAnywhere project. To build through the command line, use the following syntax:
build.exe Project_File_Path -dockerContainerMode List_of_Container_Configurations
For example, to build the containers for the container configurations that are named Container1, Container2, and Container3, use the following command line:
build.exe C:\MySetups\MyProduct.iap_xml -dockerContainerMode Container1 Container2 Container3
To build all of the containers for the container configurations that have Yes selected in the Add to Project Build setting, do not list any container configurations after the -dockerContainerMode parameter—for example:
build.exe C:\MySetups\MyProduct.iap_xml -dockerContainerMode
To build all of the container configurations that are defined in a project, you can use the -all command-line option—for example:
build.exe C:\MySetups\MyProduct.iap_xml -dockerContainerMode -all
See Also