Skip to main content
Rugix Bakery 0.9.6 is here: Build rules for custom image pipelines and verified boot for EFI and Raspberry Pi. Read the release post.
Documentation

core/alpine-bootstrap

Bootstrap an Alpine Linux root filesystem.

Preview
You're viewing the Next docs — a rolling preview of in-development changes. The current release docs may differ.

Bootstrap an Alpine Linux root filesystem.

Inputs

No artifact inputs.

Parameters

version

Required

Alpine release series, such as 3.20. The recipe downloads its .0 minirootfs.

Scheduling

Priority

10000000

Dependencies

pkg-cleanup

Higher priorities run first within the selected recipe set unless before or after constraints require otherwise. Dependencies include other recipes without ordering them.

Behavior

Use this recipe in a root layer. It downloads and extracts an Alpine minirootfs for the target architecture, then configures DNS. Supported architectures are amd64, arm64, armv7, and armhf.

Example

For example, add the recipe to a root layer (set root = true instead of a parent):

layers/base.toml
root = true
recipes = ["core/alpine-bootstrap"]

[parameters."core/alpine-bootstrap"]
version = "3.20"