Deploy a command-line procedure to Docker containers

Official Content
This documentation is valid for:

This document explains some considerations to make when deploying command-line procedures in a Docker container.

If your deployment unit has only one object, and this object is a main procedure with Call protocol property = "Command line," the Dockerfile generated adds an EntryPoint to be able to execute this procedure when the image is run.

While running the MSBuild, you have to set the DOCKER_BASE_IMAGE property with an adequate value for that purpose; for example, OpenJDK:15. See Deploy to Docker MSBuild task for more information.

In this case, the GXDeployFileProject property is mandatory. If no value is assigned to it in Java, the MSBuild execution throws an error.

For .NET, it throws the following warning: Missing or invalid GXDeployFileProject property. It should be set for command-line deployments.

See also

Deploy to Docker MSBuild task