跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示原文说明。

javimosch/supercli星标 56(GitHub 56 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3

免费

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3-2.7

免费

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

2to3-3.11

免费

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

411toppm

免费

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

53AIHub

免费

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

中文简介正在准备中。当前显示原文说明。

javimosch/supercli562026年10月30日 更新

查看 javimosch 的全部技能

报告此技能的问题