{"id":"e4df3646-292c-4562-833b-f02a18582989","shortId":"E6QbVz","kind":"skill","title":"Assemble minimal OCI images from declarative package configs with apko","tagline":"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.","description":"# Assemble minimal OCI images from declarative package configs with apko\n\nUse apko to build small OCI images from declarative package manifests when supply-chain clarity and minimal contents matter more than a conventional Dockerfile flow.\n\n## Prerequisites\n\napko and access to the package sources and OCI output destination you intend to use\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- brew install apko\n- go install chainguard.dev/apko@latest\n- docker run cgr.dev/chainguard/apko version\n- docker run -v \"$PWD\":/work cgr.dev/chainguard/apko build examples/alpine-base.yaml apko-alpine:edge apko-alpine.tar\n\nRequirements and caveats from upstream:\n- or, with Docker:\n- You can then load the generated tar image into a Docker environment:\n\nBasic usage or getting-started notes:\n- **Fully reproducible by default.** Run apko twice and you will get exactly the same binary.\n- **Services.** apko supports using the [s6 supervision suite](https://skarnet.org/software/s6) to run multiple processes\n- You can install apko from Homebrew:\n\n- Source: https://github.com/chainguard-dev/apko\n- Extracted from upstream docs: https://raw.githubusercontent.com/chainguard-dev/apko/HEAD/README.md\n\n## Documentation\n\n- https://edu.chainguard.dev/open-source/build-tools/apko/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko/)","tags":["assemble","minimal","oci","images","from","declarative","package","configs","with","apko","skills","agentskillexchange"],"capabilities":["skill","source-agentskillexchange","skill-assemble-minimal-oci-images-from-declarative-package-configs-with-apko","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,454 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:27.872Z","embedding":null,"createdAt":"2026-05-18T13:15:12.173Z","updatedAt":"2026-05-18T19:09:27.872Z","lastSeenAt":"2026-05-18T19:09:27.872Z","tsv":"'/apko@latest':108 '/chainguard-dev/apko':196 '/chainguard-dev/apko/head/readme.md':203 '/chainguard/apko':113,122 '/open-source/build-tools/apko/':207 '/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko/)':214 '/software/s6)':182 '/work':119 'access':76 'agent':209 'agentskillexchange.com':213 'agentskillexchange.com/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko/)':212 'alpin':127 'apko':10,12,46,48,74,103,126,162,173,190 'apko-alpin':125 'apko-alpine.tar':129 'assembl':1,37 'basic':150 'binari':171 'brew':101 'build':14,50,123 'caveat':132 'cgr.dev':112,121 'cgr.dev/chainguard/apko':111,120 'chain':25,61 'chainguard.dev':107 'chainguard.dev/apko@latest':106 'clariti':26,62 'config':8,44 'content':29,65 'convent':34,70 'declar':6,19,42,55 'default':160 'destin':84 'doc':200 'docker':109,115,137,148 'dockerfil':35,71 'document':204 'edg':128 'edu.chainguard.dev':206 'edu.chainguard.dev/open-source/build-tools/apko/':205 'environ':100,149 'exact':168 'examples/alpine-base.yaml':124 'exchang':211 'extract':197 'flow':36,72 'fulli':157 'generat':143 'get':154,167 'getting-start':153 'github.com':195 'github.com/chainguard-dev/apko':194 'go':104 'homebrew':192 'imag':4,17,40,53,145 'instal':89,93,102,105,189 'intend':86 'load':141 'manifest':21,57 'match':98 'matter':30,66 'minim':2,28,38,64 'multipl':185 'note':156 'oci':3,16,39,52,82 'output':83 'packag':7,20,43,56,79 'path':96 'prerequisit':73 'process':186 'pwd':118 'raw.githubusercontent.com':202 'raw.githubusercontent.com/chainguard-dev/apko/head/readme.md':201 'reproduc':158 'requir':130 'run':110,116,161,184 's6':177 'servic':172 'setup':95 'skarnet.org':181 'skarnet.org/software/s6)':180 'skill':210 'skill-assemble-minimal-oci-images-from-declarative-package-configs-with-apko' 'small':15,51 'sourc':80,193,208 'source-agentskillexchange' 'start':155 'suit':179 'supervis':178 'suppli':24,60 'supply-chain':23,59 'support':174 'tar':144 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'twice':163 'upstream':92,134,199 'usag':151 'use':11,47,88,90,175 'v':117 'version':114","prices":[{"id":"d4358278-e4df-44d2-b5cf-a6c2deb7fd6c","listingId":"e4df3646-292c-4562-833b-f02a18582989","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:12.173Z"}],"sources":[{"listingId":"e4df3646-292c-4562-833b-f02a18582989","source":"github","sourceId":"agentskillexchange/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:12.173Z","lastSeenAt":"2026-05-18T19:09:27.872Z"}],"details":{"listingId":"e4df3646-292c-4562-833b-f02a18582989","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"assemble-minimal-oci-images-from-declarative-package-configs-with-apko","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"68bb8a0eec1826adac2684ea9a280eb371594d31","skill_md_path":"skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/assemble-minimal-oci-images-from-declarative-package-configs-with-apko"},"updatedAt":"2026-05-18T19:09:27.872Z"}}