build

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package build assembles the docker build context for a project: the generated Dockerfile, the launcher script, and any skill/agent files COPYed by the generated build. Keeping context assembly here keeps the generator (text) and the runner (exec) free of filesystem layout concerns.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assemble

func Assemble(paths project.Paths, cfg config.Config, res skills.Resolved) (string, error)

Assemble writes the build context (Dockerfile + launcher + agent files + any `files`) and returns the generated Dockerfile text.

func Render

func Render(paths project.Paths, cfg config.Config, res skills.Resolved) (string, error)

Render returns the generated Dockerfile text WITHOUT touching the build context on disk. `byre dockerfile` is informational and side-effect-free, so it must not clear-and-restage the context (which Assemble does) — that would race a concurrent `byre develop` build sharing the same context dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL