Skip to content
cccskills
FreePublished on GitHub

apko

Use this skill when the user wants to build a minimal OCI container image declaratively from APK packages, or inspect/lock an apko.yaml config.

The English summary is being prepared. Showing the original description.

javimosch/supercli56 stars(GitHub 56 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

apko Plugin

apko builds OCI images from a YAML manifest listing APK packages — no Dockerfile, no base image required. Produces reproducible multi-arch images with automatic SBOMs; works with Alpine, Wolfi, and Chainguard repositories.

Commands

Build

  • apko image build — apko build <config.yaml> <tag> <output.tar> (then docker load)
  • apko image publish — Build and push straight to a registry

Config

  • apko config show — Parse and print the resolved config
  • apko lock generate — Write apko.lock.json pinning exact packages

Other

  • apko _ _ — Passthrough (apko show-packages, apko resolve, apko build-minirootfs)

Usage Examples

  • "Build an OCI image from this apko.yaml into image.tar"
  • "Show the resolved apko config for debugging"
  • "Generate a lockfile so builds are bit-for-bit reproducible"

Installation

go install chainguard.dev/apko@latest
# or: brew install apko
# or: mise use -g apko@latest

Examples

apko build examples/alpine-base.yaml apko-example:latest output.tar
docker load < output.tar
apko build apko.yaml ghcr.io/org/app:v1 out.tar && apko publish apko.yaml ghcr.io/org/app:v1
apko show-config apko.yaml
apko lock apko.yaml --output apko.lock.json

Key Features

  • Single YAML declares contents, entrypoint, users, env, archs
  • --build-arch/--arch for multi-arch manifests
  • Built-in SBOMs (SPDX + CycloneDX) per arch
  • Lockfile + --locked for reproducible rebuilds
  • No daemon needed — emits OCI tarballs; pairs with docker load, skopeo, or crane

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use this skill when the user wants to use 100-exercises-to-learn-rust.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

2to3

Free

Use this skill when the user wants to use 2to3, cli tool: 2to3.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

Use this skill when the user wants to use 2to3-3.11, cli tool: 2to3-3.11.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

Use this skill when the user wants to use 411toppm, cli tool: 411toppm.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

Use this skill when the user wants to use 53AIHub.

The English summary is being prepared. Showing the original description.

javimosch/supercli56Updated Oct 30, 2026

See all skills by javimosch

Report a problem with this skill