builder

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// NoBaseImageSpecifierLatest is the empty base image
	// Note that :latest is not valid in the FROM clause, but we're
	// always appending :latest to tags during processing.
	NoBaseImageSpecifierLatest = "scratch:latest"

	// DockerHubRegistry is the docker hub registry
	DockerHubRegistry = "registry.hub.docker.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder builds images.

func NewBuilder

func NewBuilder(pm *procmanager.ProcManager, debug bool, workspaceDir string) *Builder

NewBuilder creates a new Builder.

func (*Builder) CleanTask added in v1.0.5

func (b *Builder) CleanTask(ctx context.Context, task *graph.Task)

CleanTask iterates through all build steps and removes their corresponding containers.

func (*Builder) RunTask added in v1.0.5

func (b *Builder) RunTask(ctx context.Context, task *graph.Task) error

RunTask executes a Task.

Jump to

Keyboard shortcuts

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