---
title: "Assemble minimal OCI images from declarative package configs with apko"
description: "Use apko to build small OCI images from declarative package manifests when supply-chain clarity and minimal contents matter more than a conventional Dockerfile flow."
verification: "listed"
source: "https://github.com/chainguard-dev/apko"
author: "Chainguard"
publisher_type: "open_source_project"
category:
  - "Security & Verification"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "chainguard-dev/apko"
  github_stars: 1590
---

# Assemble minimal OCI images from declarative package configs with apko

Use apko to build small OCI images from declarative package manifests when supply-chain clarity and minimal contents matter more than a conventional Dockerfile flow.

## Prerequisites

apko and access to the package sources and OCI output destination you intend to use

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install apko, create a declarative image configuration that names packages and metadata, then build the OCI image artifact from that config and publish it through your normal registry flow if needed.
```

## Documentation

- https://edu.chainguard.dev/open-source/build-tools/apko/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko/)
