macOS
brew install apkolocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für apko in AI-Agent-Workflows.
Installation
brew install apkolocal Homebrew formula metadata
sudo apk add apkoAlpine Linux edge package indexes · apko · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#apkonixpkgs package indexes · pkgs/by-name/ap/apko/package.nix · Quelle: api.github.com
sudo pacman -S apkoArch Linux sync databases · apko · Quelle: geo.mirror.pkgbuild.com
sudo zypper install apkoopenSUSE Tumbleweed package metadata · apko · Quelle: download.opensuse.org
Überblick
Build OCI images from APK packages directly without Dockerfile
Verlauf
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.
Sicherheitslage
Für apko wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
apko | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/chainguard-dev/apko
Installationsmetadaten
| Paketschlüssel | brew:apko |
|---|---|
| Version | 1.2.23 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/apko |
| Homepage | https://github.com/chainguard-dev/apko |
| Repository | https://github.com/chainguard-dev/apko |
| Upstream-Dokumentation | https://edu.chainguard.dev/open-source/apko |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/chainguard-dev/apko/archive/refs/tags/v1.2.23.tar.gz |
| Zuletzt aktualisiert | 2026-07-07T15:33:11Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-completionQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.