Documentation
¶
Overview ¶
Package imagebuild builds the images of a Compose project's `build:` sections with go-wasmcontainers/build, through the engine's API: the context is read from the project's file system (never outside it), the Containerfile (or Dockerfile, or dockerfile_inline) with it.
Index ¶
Constants ¶
View Source
const MaxContainerfile = 1 << 20
MaxContainerfile bounds a Containerfile (build's own bound).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// FS is the project's file system (compose.Options.FS).
FS fs.FS
// Client reaches the engine.
Client *api.Client
// Cache keeps build steps between builds (nil: one per build).
Cache builder.Cache
// Out receives the build's progress (nil: discarded).
Out io.Writer
// Limits bound the context (zero: buildcontext.DefaultLimits).
Limits buildcontext.Limits
// Warn receives the build's warnings (nil: dropped).
Warn func(string)
}
Options configure the builder.
Click to show internal directories.
Click to hide internal directories.