Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder builds a configured Docker image from a source tree.
func NewBuilder ¶
func NewBuilder( le *logrus.Entry, conf *config.ConfigImageBuild, workDir string, ) (*Builder, error)
NewBuilder constructs an image builder.
func (*Builder) SetOutputStream ¶ added in v1.7.1
SetOutputStream sets the Docker build progress writer.
type ScratchBuilder ¶ added in v1.15.0
type ScratchBuilder struct {
// contains filtered or unexported fields
}
ScratchBuilder builds a rebased scratchbuild image stack.
func NewScratchBuilder ¶ added in v1.15.0
func NewScratchBuilder( le *logrus.Entry, imageStack *stack.ImageStack, dockerClient client.APIClient, ) *ScratchBuilder
NewScratchBuilder constructs a scratchbuild image stack builder.
func (*ScratchBuilder) Build ¶ added in v1.15.0
func (b *ScratchBuilder) Build(ctx context.Context) error
Build validates and builds each layer in the image stack.
func (*ScratchBuilder) SetForceRemove ¶ added in v1.15.0
func (b *ScratchBuilder) SetForceRemove(forceRemove bool)
SetForceRemove controls removal of intermediate build containers.
func (*ScratchBuilder) SetOutputStream ¶ added in v1.15.0
func (b *ScratchBuilder) SetOutputStream(output io.Writer)
SetOutputStream sets the build progress writer.
Click to show internal directories.
Click to hide internal directories.