minimize

package
v0.7.55-dev.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package minimize is the runner image's `minimize` role: run once by `docker build`, it turns the shared runner image into a per-QuickAgent exec image that holds ONLY the declared commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Minimize

func Minimize(root string, keep []string, logw io.Writer) error

Minimize deletes every executable under root's bin directories that is not in keep (bare names) or the runner binary itself. Exported for the unit test, which runs it against a temporary tree.

Types

This section is empty.

Jump to

Keyboard shortcuts

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