본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)5.4k · #14963

azldev-image

하는 일

이 스킬은 KIWI 정의를 사용해 azldev로 시스템 이미지를 빌드하고 테스트하는 방법을 설명합니다. azldev 배포판에서 컨테이너나 가상 머신 이미지를 만드는 개발자를 위한 것입니다.

사용하는 경우

  • ✓빌드된 패키지로 컨테이너나 가상 머신 이미지를 만들어야 할 때.
  • ✓빌드된 이미지를 테스트용 가상 머신에서 부팅하고 싶을 때.
  • ✓이미지 설정을 등록하거나 구성에서 바꿔야 하는 경우.

스킬 링크

https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-image/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-image/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 azldev 프로젝트의 container-base 이미지를 빌드하고 테스트용 가상 머신에서 부팅해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 이미지 목록, 빌드, 부팅, 테스트 명령을 사용하며, 이미지는 설정 파일에 정의된 것을 씁니다. 실행 전에 설치된 도구 버전에 맞는 옵션을 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Build and boot images

An image assembles built RPMs into a deliverable — a container or a bootable VM. azldev drives the build from a kiwi-ng definition; the .kiwi file itself is upstream KIWI NG (docs) and azldev does not own its schema.

Commands

Images are selected by their name as a positional argument (not -p).

Task Command
List images azldev image list
Build an image (kiwi-ng) azldev image build <name>
Boot an image in a QEMU VM azldev image boot <name>
Run an image's tests azldev image test <name>
Customize a pre-built image azldev image customize

azldev image build takes --local-repo / --remote-repo to add package sources and --arch to target an architecture. When the selected distro version defines kiwi-config-override, azldev passes it to KIWI with --config. These top-level overrides have highest precedence. azldev image boot takes a built image name, or an explicit --image-path / --iso. Confirm current flags with azldev image <command> --help (there are more subcommands, e.g. inject-files).

Registering an image

Images are declared under [images.<name>] (conventionally in an images.toml):

[images.container-base]
description = "Container base image"
definition = { type = "kiwi", path = "container-base/container-base.kiwi", profile = "core" }
architectures = ["x86_64", "aarch64"]

  [images.container-base.capabilities]
  container = true
  systemd = false

  [images.container-base.properties]
  openssl-fips-provider = "upstream"

  [images.container-base.tests]
  tests = [{ name = "smoke" }]
  • definition.type is kiwi (the only type today); path points at the .kiwi file; profile selects a kiwi profile (optional).
  • Boolean capabilities are tri-state flags describing the image — machine-bootable, container, systemd, runtime-package-management, wsl, installer-media, fips-enabled, and cvm. Set only the ones that apply.
  • properties is an extensible string-to-string metadata bag. For example, openssl-fips-provider = "upstream" records the image's provider policy without requiring azldev to define that property in its schema.
  • architectures = ["x86_64", "aarch64"] is optional; when unset or empty, the image is treated as unrestricted (all recognized architectures). Set it to restrict which architectures image build --arch allows for the image.
  • tests.tests lists the tests or test groups azldev image test runs locally. An image ref may also set sku-groups = ["<name>", ...] to fan a test or group out across the VM sizes of one or more [sku-groups.<name>] entries; that fan-out is done by external test orchestration, not by local azldev image test. Do not map sku-groups onto arbitrary LISA tests: LISA tests carry their own requirements and are skipped when the SKU does not meet them, so this is meaningful only for the special case of multi-SKU performance tests.
  • publish.channels lists the channels the image publishes to.

The kiwi definition

The .kiwi file is upstream KIWI NG XML — azldev does not own its schema. It selects the image type (container vs. VM), package lists, repositories, and boot configuration. See the KIWI NG documentation for the format and elements.

Generated by azldev docs agent; do not hand-edit.

자주 묻는 질문

이미지를 정의하는 형식은 무엇인가요?

이미지는 도구가 빌드하는 상위 형식인 KIWI NG 정의 파일을 사용합니다.

다시 빌드하지 않고 이미지를 부팅할 수 있나요?

네. 스킬은 빌드된 이미지 이름이나 명시적인 이미지 파일로 부팅할 수 있다고 설명합니다.

이미지는 어디에 등록하나요?

프로젝트 설정의 images 섹션에 선언하며, 보통 images 파일에 둡니다.

상세 정보

작성자의 원본 설명

Read this before building, booting, or configuring an azldev image. Explains the azldev image commands (list, build, boot, test, customize) and the [images.<name>] config (kiwi definition, capabilities, tests, publish); the kiwi XML format itself is upstream KIWI NG. Triggers include image build, image boot, kiwi, container image, VM image, images.toml.

repo: microsoft/azurelinux

인기도

GitHub 스타
5.4k
순위
#14963
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬