Once you have finished debugging your application and are sure it is performing as required you are ready to use the Build Image option to build the application into an image that you can then deploy. By default, the Build Image option builds an image that is based on an Enterprise Developer image, so the first time you build a project into an image for deployment you need to perform an additional step to ensure that you use an Enterprise Server image instead.
By default, a project uses the Build arguments field to set DEPLOYBASE to microfocus/edbuildtools-build, resulting in an Enterprise Developer image being used when an image is created for the project. Deleting the build argument from the Build arguments field in this way causes the definition of DEPLOYBASE in the Dockerfile to be used (which is microfocus/entserver), resulting in an Enterprise Server image being used.
You should only switch to using Enterprise Server images if you have the relevant licenses to create and deploy images based on Enterprise Server.
If you delete the specification of the DEPLOYBASE build argument from the Build arguments field but subsequently decide that you want to revert to building images based on Enterprise Developer rather than Enterprise Server, you can click Restore Defaults to reset every field on the dialog box to its default setting.
Docker builds a new image based on the content of the Dockerfile.
The Dockerfile that was created by Enterprise Developer results in the project being rebuilt and the creation of an image containing the project's build output. If you have edited the Dockerfile, however, the results depend on the commands specified in the Dockerfile.
The name of the image will be the name of the project, and the image will be tagged as "latest". Depending on your organization's procedures and processes, before deploying the image you might need to rename or retag it, or perhaps rebuild it in conjunction with other images.