Creating Wolfi images with Dockerfiles
This tutorial demonstrates how to build a Wolfi Python image from scratch, using a Dockerfile workflow.
For the complete documentation index, see llms.txt.
Wolfi is a Linux undistro built for containers. It uses the apk package format, builds every package from source, and relies on the container runtime to provide the kernel. Chainguard’s container images are built on Wolfi.
To learn what Wolfi is and why Chainguard built it, read What is Wolfi? in Supply Chain Security 101. The pages in this section show you how to work with Wolfi.
To explore Wolfi, run the wolfi-base image. It’s intentionally minimal: it contains the Wolfi filesystem, the apk package manager, and a shell.
docker run -it cgr.dev/chainguard/wolfi-baseInside the container, install the tools you need with apk, for example apk add curl.
To search for packages, run apk search inside a Wolfi container, as described in Searching for packages. To search the Wolfi repositories from a browser, use APK Explorer.
You can’t mix Alpine packages with Wolfi packages. If you need a package that’s only available for Alpine, open an issue in the wolfi-os repository to request it, or build your own package with melange.
To report a security issue in Wolfi or consume its security data, follow SECURITY.md.
This tutorial demonstrates how to build a Wolfi Python image from scratch, using a Dockerfile workflow.
Community workshop about Wolfi for beginners
Understanding Cosign, a project under Sigstore
This document explains how to specify version constraints for packages installed with the apk tool, as well as apko and …
A deep-dive into the process of getting a new package into Wolfi OS
Last updated: 2026-10-08 13:25