Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2.37 KB

File metadata and controls

62 lines (45 loc) · 2.37 KB

azldev image build

Build an image using kiwi-ng

Synopsis

Build an image using kiwi-ng.

The image must be defined in the project configuration with a kiwi definition type. This command invokes kiwi-ng via sudo to build the image. Built image artifacts are placed in the project output directory.

azldev image build [image-name] [flags]

Examples

  # Build an image by name
  azldev image build my-image

  # Build for a specific architecture
  azldev image build my-image --arch aarch64

  # Build with a local RPM repository
  azldev image build my-image --local-repo ./base/out

Options

      --arch arch                      Target architecture to build for (e.g., x86_64 or aarch64). Defaults to the host architecture if not specified)
  -h, --help                           help for build
      --local-repo stringArray         Paths to local repositories to include during build (can be specified multiple times)
      --remote-repo stringArray        URIs to remote repositories (http:// or https://) to include during build (can be specified multiple times)
      --remote-repo-include-in-image   Include all remote repositories specified via --remote-repo in the built image's repository setup
      --remote-repo-no-gpgcheck        Disable GPG checking for all remote repositories specified via --remote-repo (not for production use)

Options inherited from parent commands

  -y, --accept-all                accept all prompts
      --color mode                output colorization mode {always, auto, never} (default auto)
      --config-file stringArray   additional TOML config file(s) to merge (may be repeated)
  -n, --dry-run                   dry run only (do not take action)
      --network-retries int       maximum number of attempts for network operations (minimum 1) (default 3)
      --no-default-config         disable default configuration
  -O, --output-format fmt         output format {csv, json, markdown, table} (default table)
      --permissive-config         do not fail on unknown fields in TOML config files
  -C, --project string            path to Azure Linux project
  -q, --quiet                     only enable minimal output
  -v, --verbose                   enable verbose output

SEE ALSO