Container

image: String
loginCommands:
  - String
options:
  - String
{
  "image": "String",
  "loginCommands": [
    "String"
  ],
  "options": [
    "String"
  ]
}

image

Type: String

An image URI which will be used to fetch a container for packaging your distribution.

Useful if you, for example, want to build your distribution locally inside a container that mimics your build server.

Note

For this configuration to take effect you need to apply the --container-build or -cb flag to the attini distribution package (or attini deploy run) command.

Required: No

loginCommands

Type: List<String>

List of shell commands that will be executed before the docker run command when using container builds.

Should only be used to log in to the image repository if the image needs to be downloaded as they are executed before the container is started.

Note

For this configuration to take effect, you need to apply the --container-repository-login or -crl flag to the attini distribution package (or attini deploy run) command.

Required: No

options

Type: List<String>

Command-line options you want to add the docker run command the Attini CLI generates and run for you.

Useful if you need to configure anything specific for your build container, for example, if you need to transfer AWS credentials to the container (-v $HOME/.aws:/root/.aws:rw).

Required: No