debian-builder
Recipe card from the charly-distros plugin (Images — the deployable catalog).
debian-builder
Section titled “debian-builder”Debian 13 counterpart of /charly-distros:fedora-builder. Provides the pixi / npm / cargo build environments so downstream Debian boxes (currently /charly-coder:debian-coder) get pre-compiled artifacts from a dedicated builder stage without bloating the final image.
Lives in the opencharly/distro-debian repo (git submodule at box/debian).
Build it from the submodule: charly -C box/debian box build debian-builder
(normally it builds implicitly as a dependency of debian-coder). Its
pixi/nodejs/build-toolchain layers are pulled by github reference from the
main repo.
Box Properties
Section titled “Box Properties”| Property | Value |
|---|---|
| Base | debian (which = debian:13 + our bootstrap) |
| Layers | pixi, nodejs, build-toolchain |
| Platforms | linux/amd64 |
| Registry | ghcr.io/opencharly |
| User | user / uid 1000 (create mode — debian:13 ships no pre-existing uid-1000 account) |
Full candy stack
Section titled “Full candy stack”/charly-distros:debian— Debian 13 + ourapt-get update && apt-get install -y --no-install-recommends curl ca-certificates gnupgbootstrap + go-task binary +user:useruid 1000./charly-languages:pixi— pixi package manager + env paths./charly-coder:nodejs— Node.js + npm (genericnodejs— Debian’s packaged Node)./charly-coder:build-toolchain— gcc, g++, cmake, autoconf, ninja, pkg-config, and the full set of-devlibraries (Debian equivalents of Fedora’s-devel). Used by cargo crates that link system libs (libva, x264, ffmpeg, wayland, xkbcommon, etc.).
Role in the build system
Section titled “Role in the build system”Declares builds: [pixi, npm, cargo] and is listed as debian-coder’s builder for all three types via:
debian: builder: pixi: debian-builder npm: debian-builder cargo: debian-builderDuring charly box build debian-coder, any candy that ships pixi.toml / package.json / Cargo.toml gets a multi-stage FROM debian-builder AS <layer>-<builder>-build section emitted by the generator, then COPY --from=<stage> --chown=${UID}:${GID} into the final image. See /charly-internals:generate-source for the template.
No AUR equivalent (unlike /charly-distros:arch-builder) — AUR is an Arch-only concept.
Cross-distro sibling builders
Section titled “Cross-distro sibling builders”/charly-distros:fedora-builder— Fedora 43 equivalent (+rpmfusionfor x264/ffmpeg/libva headers)./charly-distros:arch-builder— Arch Linux equivalent +yayfor AUR./charly-distros:ubuntu-builder— Ubuntu 24.04 equivalent; differs from this box mainly inuser:ubuntuvsuser:user(adopt mode — see/charly-distros:ubuntu).
Quick start
Section titled “Quick start”charly -C box/debian box build debian-buildercharly shell debian-builderTypically not invoked directly — it’s a build-time dependency of /charly-coder:debian-coder.
Verification
Section titled “Verification”charly -C box/debian box list | grep debian-builder— box present.charly shell debian-builder -- pixi --version && node --version && gcc --version.
Related boxes
Section titled “Related boxes”/charly-distros:debian— parent base, declares the bootstrap packages in the embeddeddistro:vocabulary./charly-coder:debian-coder— the consumer that this builder exists to serve./charly-distros:fedora-builder— RPM-family sibling./charly-distros:arch-builder— pacman + AUR sibling./charly-distros:ubuntu-builder— Ubuntu 24.04 sibling.
Related candies
Section titled “Related candies”Related commands
Section titled “Related commands”/charly-build:build— multi-stage builders,base_user:declaration/charly-image:image—produce:+builder:fields/charly-build:generate— COPY-from stage emission
When to use this skill
Section titled “When to use this skill”MUST be invoked when:
- Building or troubleshooting
debian-builderitself. - Debugging multi-stage
COPY --fromerrors in adebian-coderbuild (the source stage is this image). - Adding a new builder capability (e.g. a
dotnetbuild type) to deb-family images.