macOS
brew install apkolocal Homebrew formula metadata
brew
apko のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install apkolocal Homebrew formula metadata
sudo apk add apkoAlpine Linux edge package indexes · apko · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#apkonixpkgs package indexes · pkgs/by-name/ap/apko/package.nix · ソース: api.github.com
sudo pacman -S apkoArch Linux sync databases · apko · ソース: geo.mirror.pkgbuild.com
sudo zypper install apkoopenSUSE Tumbleweed package metadata · apko · ソース: download.opensuse.org
概要
Build OCI images from APK packages directly without Dockerfile
履歴
apko is Chainguard's apk-based OCI image builder: it builds container images directly from APK package repositories and a declarative YAML file, without Dockerfiles or RUN steps. It belongs to the supply-chain-focused family of tools that treat packages, SBOMs, and reproducibility as first-class image-build inputs.
The public repository was created in February 2022. The README says apko was created by Chainguard because they needed secure, reproducible container images for their tooling, with speed important because images are rebuilt constantly for new versions and patches.
The design is explicitly declarative. Official docs state that apko files are YAML definitions of an image and that, unlike Dockerfiles, there is no equivalent of RUN statements. That restriction lets apko make stronger claims about image contents and reproducibility and generate metadata such as SBOMs.
apko is paired with melange, Chainguard's tool for building APK packages from source. The README frames melange plus apko as covering most use cases: package software into APKs with melange, then assemble minimal OCI images from those packages with apko.
The README documents Homebrew installation, go install from source, and use of the cgr.dev/chainguard/apko container image. The supplied package metadata also records packaging in Alpine apk, Homebrew, Nix, pacman, and zypper, which fits a tool aimed at distro and container-package workflows.
GitHub repository metadata showed over 1.6k stars and an active release stream. The latest official release assets include signed binaries and checksums, reflecting packaging practices expected in supply-chain-oriented infrastructure tools.
A typical apko file specifies APK repositories and packages under contents, then image metadata such as entrypoint, command, environment, accounts, paths, architectures, annotations, and layering. apko build writes a tar image, while apko publish pushes directly to a registry.
There is no fixed user config file location in the official docs; users pass an apko YAML file path to the CLI. The file can include another local file or a file from a remote git repository.
apko is important to package nerds because it moves image construction from shell-script layers to package-manager inputs. Instead of a Dockerfile mutating a filesystem, an image is a closure over APK repositories, package names, keys, accounts, paths, and metadata.
For distroless-style images, SBOM generation, rebuild speed, and bit-for-bit reproducibility, apko is a concrete example of packaging discipline influencing container image tooling.
セキュリティ状態
apko に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
apko | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/chainguard-dev/apko
インストールメタデータ
| パッケージキー | brew:apko |
|---|---|
| バージョン | 1.2.23 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/apko |
| ホームページ | https://github.com/chainguard-dev/apko |
| リポジトリ | https://github.com/chainguard-dev/apko |
| 上流ドキュメント | https://edu.chainguard.dev/open-source/apko |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/chainguard-dev/apko/archive/refs/tags/v1.2.23.tar.gz |
| 最終更新 | 2026-07-07T15:33:11Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | apko |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
apko
nix profile install nixpkgs#apkoapko 0.9.0-r25
declarative APK-based container building tool with support for Sigstore signatures
https://github.com/chainguard-dev/apko
sudo apk add apkoapko-bash-completion 0.9.0-r25
Bash completions for apko
https://github.com/chainguard-dev/apko
sudo apk add apko-bash-completionapko-fish-completion 0.9.0-r25
Fish completions for apko
https://github.com/chainguard-dev/apko
sudo apk add apko-fish-completionapko-zsh-completion 0.9.0-r25
Zsh completions for apko
https://github.com/chainguard-dev/apko
sudo apk add apko-zsh-completionapko 1.2.15-1
Declarative APK-based container building tool with support for sigstore signatures
https://github.com/chainguard-dev/apko
sudo pacman -S apkoapko 1.2.16-1.1
Build OCI images from APK packages directly without Dockerfile
https://github.com/chainguard-dev/apko
sudo zypper install apkoapko-bash-completion 1.2.16-1.1
Bash Completion for apko
https://github.com/chainguard-dev/apko
sudo zypper install apko-bash-completionapko-fish-completion 1.2.16-1.1
Fish Completion for apko
https://github.com/chainguard-dev/apko
sudo zypper install apko-fish-completionapko-zsh-completion 1.2.16-1.1
Zsh Completion for apko
https://github.com/chainguard-dev/apko
sudo zypper install apko-zsh-completionソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.