Skip to content

Documentation & UX Request: Guidance for Replicating Official Images and Multi-Arch Builds #168

@martinn-ronin

Description

@martinn-ronin

User Perspective
As a user familiar with Docker-style declarative builds, I find the transition to rpi-image-gen quite steep. While the tool is powerful, the current documentation focuses on "minimal base" examples that don't clearly demonstrate how to bridge the gap to a fully-featured or official-style Raspberry Pi OS image.

The Problem

  1. Replicating Official Builds: There are no clear templates for building the equivalent of an official "Lite" or "Desktop" image. Starting from a blank slate to reach that level of feature-parity is currently a manual "trial and error" process.
  2. Multi-Architecture Complexity: Building for armhf (32-bit) vs. arm64 (64-bit) feels complex. Unlike the simple --platform flag in Docker, it is not immediately clear how to handle architecture-specific package names or configurations within the YAML layers.
  3. The "Stripping Down" Workflow: Many users prefer to start with a known-good configuration (like an official image) and strip it down. The current documentation doesn't provide a clear path for this "subtractive" approach in a declarative way.

Requested Improvements

  • Official Baseline Templates: Please provide official YAML configuration templates that exactly replicate the current "Lite" and "Standard" Raspberry Pi OS releases (for both architectures).
  • Cross-Arch Guide: A dedicated section or "Cheat Sheet" explaining how to manage multi-arch builds, specifically how the --architecture flag interacts with package selection in YAML.
  • Advanced Customization Examples: More complex examples showing how to transition from a minbase build to a production-ready OS with standard utilities (networking, SSH, common drivers) pre-configured.

Additional Context
Providing these "Baseline Templates" would allow users to treat them as a "Base Image" (similar to a Docker FROM instruction), making the tool much more accessible for building production-grade customized images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions