Add a build argument

Some application deployments require additional build arguments to be injected into the Docker build process. The Velocity Run Configuration wizard makes it simple to add such arguments to Velocity's built-in Docker build process.

Add a build argument to a new run configuration

To add a build argument to a new run configuration, select "Yes" in response to the question "Does your Dockerfile require any build arguments?".

Then, select the "Type" build argument, enter a key, value pair, and click "Create."

Add or update a build argument for an existing run configuration

To update or add a build argument for an existing run configuration, select "Edit Configurations" from the run configuration dropdown.

Next, select the run confugration you want to update, click the "Build" tab. Next, enter the key value pair in the Docker arguments input window, and click "OK."

Last updated